HOME

TheInfoList



OR:

A multi-tape Turing machine is a variant of the
Turing machine A Turing machine is a mathematical model of computation describing an abstract machine that manipulates symbols on a strip of tape according to a table of rules. Despite the model's simplicity, it is capable of implementing any computer algori ...
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. 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. Thus, multi-tape machines cannot calculate any more functions than single-tape machines, 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

k -tape Turing machine can be formally defined as a 7-
tuple In mathematics, a tuple is a finite ordered list (sequence) of elements. An -tuple is a sequence (or ordered list) of elements, where is a non-negative integer. There is only one 0-tuple, referred to as ''the empty tuple''. An -tuple is defi ...
M = \langle Q, \Gamma, b, \Sigma, \delta, q_0, F \rangle, following the notation of a
Turing machine A Turing machine is a mathematical model of computation describing an abstract machine that manipulates symbols on a strip of tape according to a table of rules. Despite the model's simplicity, it is capable of implementing any computer algori ...
: * \Gamma is a finite, non-empty set of ''tape alphabet symbols''; * b \in \Gamma is the ''blank symbol'' (the only symbol allowed to occur on the tape infinitely often at any step during the computation); * \Sigma\subseteq\Gamma\setminus\ is the set of ''input symbols'', that is, the set of symbols allowed to appear in the initial tape contents; * Q is a finite, non-empty set of ''states''; * q_0 \in Q is the ''initial state''; * F \subseteq Q is the set of ''final states'' or ''accepting states''. The initial tape contents is said to be ''accepted'' by M if it eventually halts in a state from F. * \delta: (Q \setminus F) \times \Gamma^k \to Q \times \Gamma^k \times \{L,R\}^k is a
partial function In mathematics, a partial function from a set to a set is a function from a subset of (possibly itself) to . The subset , that is, the domain of viewed as a function, is called the domain of definition of . If equals , that is, if is de ...
called the '' transition function'', where L is left shift, R is right shift. A k-tape Turing machine M computes as follows. Initially, M receives its input w=w_1w_2...w_n \in \Sigma^* on the leftmost n 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 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

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

*
Turing machine A Turing machine is a mathematical model of computation describing an abstract machine that manipulates symbols on a strip of tape according to a table of rules. Despite the model's simplicity, it is capable of implementing any computer algori ...
*
Universal Turing machine In computer science, a universal Turing machine (UTM) is a Turing machine that can simulate an arbitrary Turing machine on arbitrary input. The universal machine essentially achieves this by reading both the description of the machine to be simu ...
* Alternating Turing machine *
Probabilistic Turing machine In theoretical computer science, a probabilistic Turing machine is a non-deterministic Turing machine that chooses between the available transitions at each point according to some probability distribution. As a consequence, a probabilistic Turi ...
*
Turing machine equivalents A Turing machine is a hypothetical computing device, first conceived by Alan Turing in 1936. Turing machines manipulate symbols on a potentially infinite strip of tape according to a finite table of rules, and they provide the theoretical underp ...


References

Turing machine