Professional Documents
Culture Documents
H
Fig. 7.4.1 :A Turing machine with two heads
The transition behavior of 2-head one tape Turing machine can be defined as given
below
(State, Symbol under H, Symbol under H,) = (New state, (S,, M), (S, M,)
Where,
S, is the symbol to be written in the cell under H.
M, is the movement (L, R, N) of H,
S, is the symbol to be written in the cell under H
M is the movement (L, R, N) of H
Tape 1: BabaaDDBB B
Tape 2: Baab5a baBB
Fig. 7.4.2:A two-tape turing machine
The transition behavior of a two-tape Turing machine can be
defined as:
o9,,a-)=(9z.S,M,).SM,)
Where,
1 is the current state,
2 1S the next state,
a is the symbol under the head on tape 1,
a, is the symbol under the head on tape 2,
Theory of Comp. Sci.(MU-Sem. 5-Comp.) 7-61 Turing Machine (TM)
S, is the symbol written in the current cell on tape 1,
S, is the symbol written in the current cell on tape 2,
M, is the movement (L,R, N) of head on tape 1,
M, is the movement (L, R, N) of head on tape 2.
Theory of Comp. Sci. (MU-Sem. 5-Comp.) 7-64 Turing Machine (TM)
The transition behaviour for state 9o for TM of Fig. 7.4.3 can be written as
(4o» a) = {(q%» a, R) (q1, x, R)}