Costas Busch - RPI 1
Variations
of the
Turing Machine
Costas Busch - RPI 2
Variations of the Standard Model
• Stay-Option
• Semi-Infinite Tape
• Off-Line
• Multitape
• Multidimensional
• Nondeterministic
Turing machines with:
Costas Busch - RPI 3
Same Power of two classes means:
For any machine of first class
1
M
there is a machine of second class
2
M
such that:
)()(
21
MLML =
And vice-versa
Costas Busch - RPI 4
Turing Machines with Stay-Option
The head can stay in the same position
ààaa c àààba cbbaa
Left, Right, Stay
L,R,S: moves
Costas Busch - RPI 5
Example:
ààaa c àààba cbbaa
Time 1
ààba c àààba cbbaa
Time 2
1
q
2
q
1
q
2
q
Sba,®
Costas Busch - RPI 6
1
q
2
q
Sba,®
1
q
2
q
Lba,®
3
q
Rxx,®
Stay-Option Machine
Simulation in Standard Machine
For every symbol x
Costas Busch - RPI 7
Example
à àaaba
1
q
Stay-Option Machine:
1
à àbaba
2
q
2
1
q
2
q
Sba,®
Simulation in Standard Machine:
à àaaba
1
q
1
à àbaba
2
q
2
à àbaba
3
q
3
Costas Busch - RPI 8
Standard Machine--Multiple Track Tape
à
à
à
à
à
à
b
d
a
b
b
a
a
c
track 1
track 2
one symbol
Costas Busch - RPI 12
2. Do computations as in Turing machine
Input File
abc ààà
Tape
abcà àà
abc
1
q
1
q
Standard machine
Off-line machine
Costas Busch - RPI 13
Standard Turing machines simulate
Off-line machines:
Use a Standard machine with four track tape
to keep track of
the Off-line input file and tape contents
Costas Busch - RPI 14
Multitape Turing Machines
ààabc ààefg
Control unit
Tape 1 Tape 2
Input