fbpx
Wikipedia

Queue automaton

A queue machine, queue automaton, or pullup automaton (PUA)[citation needed] is a finite state machine with the ability to store and retrieve data from an infinite-memory queue. It is a model of computation equivalent to a Turing machine, and therefore it can process the same class of formal languages.

Theory Edit

A queue machine can be defined as a six-tuple

  where
  •   is a finite set of states;
  •   is the finite set of the input alphabet;
  •   is the finite queue alphabet;
  •   is the initial queue symbol;
  •   is the start state;
  •   is the transition function.

A machine configuration is an ordered pair of its state and queue contents  , where   denotes the Kleene closure of  . The starting configuration on an input string   is defined as  , and the transition   from one configuration to the next is defined as:

 

where   is a symbol from the queue alphabet,   is a sequence of queue symbols ( ), and  . Note the "first-in-first-out" property of the queue in the relation.

The machine accepts a string   if after a finite number of transitions the starting configuration evolves to exhaust the string (reaching the null string  ), or otherwise stated, if  [1]

Turing completeness Edit

We can prove that a queue machine is equivalent to a Turing machine by showing that a queue machine can simulate a Turing machine and vice versa.

A Turing machine can be simulated by a queue machine that keeps a copy of the Turing machine's contents in its queue at all times, with two special markers: one for the Turing machine's head position, and one for the end of the tape; its transitions simulate those of the Turing machine by running through the whole queue, popping off each of its symbols and re-enqueing either the popped symbol, or, near the head position, the equivalent of the Turing machine transition's effect.

A queue machine can be simulated by a Turing machine, but more easily by a multi-tape Turing machine, which is known to be equivalent to a normal single-tape machine. The simulating queue machine reads input on one tape and stores the queue on the second, with pushes and pops defined by simple transitions to the beginning and end symbols of the tape.[2] A formal proof of this is often an exercise in theoretical computer science courses.

Applications Edit

Queue machines offer a simple model on which to base computer architectures,[3][4] programming languages, or algorithms.[5][6]

See also Edit

References Edit

  1. ^ Kozen, Dexter C. (1997) [1951]. David Gries, Fred B. Schneider (ed.). Automata and Computability (hardcover). Undergraduate Texts in Computer Science (1 ed.). New York: Springer-Verlag. pp. 368–370. ISBN 978-0-387-94907-9.
  2. ^ Rus, Teodor. (PDF). Lecture Notes Covering Theory of Computation. University of Iowa, Iowa City, IA, 52242-1419. Archived from the original (PDF) on 2008-09-21. Retrieved 2007-11-06.
  3. ^ Feller, M.; M.D. Ercegovac (1981). "Queue machines: An organization for parallel computation". Conpar 81. Lecture Notes in Computer Science. Vol. 111. pp. 37–47. doi:10.1007/BFb0105108. ISBN 978-3-540-10827-6.
  4. ^ Schmit, H.; Levine, B.; Ylvisaker, B. (2002). "Queue machines: Hardware compilation in hardware". Proceedings. 10th Annual IEEE Symposium on Field-Programmable Custom Computing Machines. pp. 152–160. CiteSeerX 10.1.1.6.7718. doi:10.1109/FPGA.2002.1106670. ISBN 978-0-7695-1801-5. S2CID 8993845.
  5. ^ Moore, Christopher (1999-09-20). "Queues, Stacks, and Transcendentality at the Transition to Chaos". Algorithms Project's Seminar. INRIA. Retrieved 2007-11-06.
  6. ^ von Thun, Manfred (2007). . La Trobe University. Archived from the original on 2007-08-07. Retrieved 2007-11-06.

queue, automaton, queue, machine, queue, automaton, pullup, automaton, citation, needed, finite, state, machine, with, ability, store, retrieve, data, from, infinite, memory, queue, model, computation, equivalent, turing, machine, therefore, process, same, cla. A queue machine queue automaton or pullup automaton PUA citation needed is a finite state machine with the ability to store and retrieve data from an infinite memory queue It is a model of computation equivalent to a Turing machine and therefore it can process the same class of formal languages Contents 1 Theory 1 1 Turing completeness 2 Applications 3 See also 4 ReferencesTheory EditA queue machine can be defined as a six tuple M Q S G s d displaystyle M Q Sigma Gamma s delta whereQ displaystyle Q is a finite set of states S G displaystyle Sigma subset Gamma is the finite set of the input alphabet G displaystyle Gamma is the finite queue alphabet G S displaystyle in Gamma setminus Sigma is the initial queue symbol s Q displaystyle s in Q is the start state d Q G Q G displaystyle delta Q times Gamma rightarrow Q times Gamma is the transition function A machine configuration is an ordered pair of its state and queue contents q g Q G displaystyle q gamma in Q times Gamma where G displaystyle Gamma denotes the Kleene closure of G displaystyle Gamma The starting configuration on an input string x displaystyle x is defined as s x displaystyle s x and the transition M 1 displaystyle rightarrow M 1 from one configuration to the next is defined as p A a M 1 q a g displaystyle p A alpha rightarrow M 1 q alpha gamma where A displaystyle A is a symbol from the queue alphabet a displaystyle alpha is a sequence of queue symbols a G displaystyle alpha in Gamma and q g d p A displaystyle q gamma delta p A Note the first in first out property of the queue in the relation The machine accepts a string x S displaystyle x in Sigma if after a finite number of transitions the starting configuration evolves to exhaust the string reaching the null string ϵ displaystyle epsilon or otherwise stated if s x M q ϵ displaystyle s x rightarrow M q epsilon 1 Turing completeness Edit We can prove that a queue machine is equivalent to a Turing machine by showing that a queue machine can simulate a Turing machine and vice versa A Turing machine can be simulated by a queue machine that keeps a copy of the Turing machine s contents in its queue at all times with two special markers one for the Turing machine s head position and one for the end of the tape its transitions simulate those of the Turing machine by running through the whole queue popping off each of its symbols and re enqueing either the popped symbol or near the head position the equivalent of the Turing machine transition s effect A queue machine can be simulated by a Turing machine but more easily by a multi tape Turing machine which is known to be equivalent to a normal single tape machine The simulating queue machine reads input on one tape and stores the queue on the second with pushes and pops defined by simple transitions to the beginning and end symbols of the tape 2 A formal proof of this is often an exercise in theoretical computer science courses Applications EditQueue machines offer a simple model on which to base computer architectures 3 4 programming languages or algorithms 5 6 See also EditComputability Turing machine equivalents Deterministic finite automaton Pushdown automaton Tag system Manufactoria a browser flash game tasking the player with implementation of various algorithms using a queue machine model References Edit Kozen Dexter C 1997 1951 David Gries Fred B Schneider ed Automata and Computability hardcover Undergraduate Texts in Computer Science 1 ed New York Springer Verlag pp 368 370 ISBN 978 0 387 94907 9 Rus Teodor Variants of Turing Machines PDF Lecture Notes Covering Theory of Computation University of Iowa Iowa City IA 52242 1419 Archived from the original PDF on 2008 09 21 Retrieved 2007 11 06 Feller M M D Ercegovac 1981 Queue machines An organization for parallel computation Conpar 81 Lecture Notes in Computer Science Vol 111 pp 37 47 doi 10 1007 BFb0105108 ISBN 978 3 540 10827 6 Schmit H Levine B Ylvisaker B 2002 Queue machines Hardware compilation in hardware Proceedings 10th Annual IEEE Symposium on Field Programmable Custom Computing Machines pp 152 160 CiteSeerX 10 1 1 6 7718 doi 10 1109 FPGA 2002 1106670 ISBN 978 0 7695 1801 5 S2CID 8993845 Moore Christopher 1999 09 20 Queues Stacks and Transcendentality at the Transition to Chaos Algorithms Project s Seminar INRIA Retrieved 2007 11 06 von Thun Manfred 2007 A queue machine for evaluating expressions La Trobe University Archived from the original on 2007 08 07 Retrieved 2007 11 06 Retrieved from https en wikipedia org w index php title Queue automaton amp oldid 1171656425, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.