[Overview] [Previous] [Next]
Turing Machines as Acceptors
A
Turing machine halts when it no longer has any available moves. If it halts
in a final state, it accepts its input; otherwise, it rejects its input.
This is too easy, so let's repeat it in symbols:
A Turing Machine T = (Q,
,
,
,
q0, #, F) accepts a language L(M), where
L(M) = (w
+: q0w
xiqfxj
for some qf
F, xi, xj
*}
(Notice that this definition assumes that the Turing machine
starts with its tape head positioned on the leftmost symbol.)
We
said a Turing machine accepts its input if it halts in a final state. There
are two ways this could fail to happen:
- The Turing machine could halt in a nonfinal state, or
- The Turing machine could never stop
(in which case we say it is in an infinite loop. )
If a Turing machine halts, the sequence of configurations
leading to the halt state is called a computation.
Copyright © 1996 by David Matuszek
Last modified Mar 25, 1996