fbpx
Wikipedia

Multitape Turing machine

A multi-tape Turing machine is a variant of the Turing machine that utilizes several tapes. Each tape has its own head for reading and writing. Initially, the input appears on tape 1, and the others start out blank.[1]

This model intuitively seems much more powerful than the single-tape model, but any multi-tape machine—no matter how many tapes—can be simulated by a single-tape machine using only quadratically more computation time.[2] Thus, multi-tape machines cannot calculate any more functions than single-tape machines,[3] and none of the robust complexity classes (such as polynomial time) are affected by a change between single-tape and multi-tape machines.

Formal definition edit

 -tape Turing machine can be formally defined as a 7-tuple  , following the notation of a Turing machine:

  •   is a finite, non-empty set of tape alphabet symbols;
  •   is the blank symbol (the only symbol allowed to occur on the tape infinitely often at any step during the computation);
  •   is the set of input symbols, that is, the set of symbols allowed to appear in the initial tape contents;
  •   is a finite, non-empty set of states;
  •   is the initial state;
  •   is the set of final states or accepting states. The initial tape contents is said to be accepted by   if it eventually halts in a state from  .
  •   is a partial function called the transition function, where L is left shift, R is right shift.

A  -tape Turing machine   computes as follows. Initially,   receives its input   on the leftmost   positions of the first tape, the rest of the first tape as well as other tapes is blank (i.e., filled with blank symbols). All the heads start on the leftmost position of the tapes. Once   has started, the computation proceeds according to the rules described by the transition function. The computation continues until it enters the accept states, at which point it halts.

Two-stack Turing machine edit

Two-stack Turing machines have a read-only input and two storage tapes. If a head moves left on either tape a blank is printed on that tape, but one symbol from a "library" can be printed.

See also edit

References edit

  1. ^ Sipser, Michael (2005). Introduction to the Theory of Computation. Thomson Course Technology. p. 148. ISBN 0-534-95097-3.
  2. ^ Papadimitriou, Christos (1994). Computational Complexity. Addison-Wesley. p. 53. ISBN 0-201-53082-1.
  3. ^ Martin, John (2010). Introduction to Languages and the Theory of Computation. McGraw Hill. pp. 243–246. ISBN 978-0071289429.

multitape, turing, machine, multi, tape, turing, machine, variant, turing, machine, that, utilizes, several, tapes, each, tape, head, reading, writing, initially, input, appears, tape, others, start, blank, this, model, intuitively, seems, much, more, powerful. A multi tape Turing machine is a variant of the Turing machine that utilizes several tapes Each tape has its own head for reading and writing Initially the input appears on tape 1 and the others start out blank 1 This model intuitively seems much more powerful than the single tape model but any multi tape machine no matter how many tapes can be simulated by a single tape machine using only quadratically more computation time 2 Thus multi tape machines cannot calculate any more functions than single tape machines 3 and none of the robust complexity classes such as polynomial time are affected by a change between single tape and multi tape machines Contents 1 Formal definition 2 Two stack Turing machine 3 See also 4 ReferencesFormal definition editk displaystyle k nbsp tape Turing machine can be formally defined as a 7 tuple M Q G b S d q 0 F displaystyle M langle Q Gamma b Sigma delta q 0 F rangle nbsp following the notation of a Turing machine G displaystyle Gamma nbsp is a finite non empty set of tape alphabet symbols b G displaystyle b in Gamma nbsp is the blank symbol the only symbol allowed to occur on the tape infinitely often at any step during the computation S G b displaystyle Sigma subseteq Gamma setminus b nbsp is the set of input symbols that is the set of symbols allowed to appear in the initial tape contents Q displaystyle Q nbsp is a finite non empty set of states q 0 Q displaystyle q 0 in Q nbsp is the initial state F Q displaystyle F subseteq Q nbsp is the set of final states or accepting states The initial tape contents is said to be accepted by M displaystyle M nbsp if it eventually halts in a state from F displaystyle F nbsp d Q F G k Q G k L R k displaystyle delta Q setminus F times Gamma k to Q times Gamma k times L R k nbsp is a partial function called the transition function where L is left shift R is right shift A k displaystyle k nbsp tape Turing machine M displaystyle M nbsp computes as follows Initially M displaystyle M nbsp receives its input w w 1 w 2 w n S displaystyle w w 1 w 2 w n in Sigma nbsp on the leftmost n displaystyle n nbsp positions of the first tape the rest of the first tape as well as other tapes is blank i e filled with blank symbols All the heads start on the leftmost position of the tapes Once M displaystyle M nbsp has started the computation proceeds according to the rules described by the transition function The computation continues until it enters the accept states at which point it halts Two stack Turing machine editTwo stack Turing machines have a read only input and two storage tapes If a head moves left on either tape a blank is printed on that tape but one symbol from a library can be printed See also editTuring machine Universal Turing machine Alternating Turing machine Probabilistic Turing machine Turing machine equivalentsReferences edit Sipser Michael 2005 Introduction to the Theory of Computation Thomson Course Technology p 148 ISBN 0 534 95097 3 Papadimitriou Christos 1994 Computational Complexity Addison Wesley p 53 ISBN 0 201 53082 1 Martin John 2010 Introduction to Languages and the Theory of Computation McGraw Hill pp 243 246 ISBN 978 0071289429 Retrieved from https en wikipedia org w index php title Multitape Turing machine amp oldid 1126263072, 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.