1
Turing Machines
TM Variants and the Universal TM
Turing Machine properties
There are many ways to skin a cat
And many ways to define a TM
The book’s “Standard Turing Machines”
Tape unbounded on both sides Deterministic (at most 1 move / configuration) Tape acts as both input and output
The books looks at a number of
“alternate” (and equivalent) definitions.
Alternate TM definitions
Turing Machines with a “STAY” Option
Allows the tape head to stay where it is
δ: Q x Γ → Q x Γ x {R, L, S} Basic TM defined in JFLAP
TM with semi-infinite tape
Tape is bounded on the left Any attempt to go beyond this boundary will result
in halt and reject.
Alternate TM definitions
Off-line TM
TM with 2 tapes
Read-only input tape Read-write tape
Input file + memory
Non-deterministic TM
Machine has a choice of moves
δ: Q x Γ → 2 Q x Γ x {R, L}
More on this next week.
Alternate TM definitions
All of the alternate definitions are
equivalent to the standard TM
I.e Given an alternate TM that accepts L,
- ne can construct a standard TM that
accepts the same language.
Alternate TM definitions
Multi-taped TMs
Have multiple tapes With a multiple tape heads that is read/
writing a different position on each tape at any one given time.
δ: Q x Γn → Q x Γn x {R, L}n
where n is #of tapes