Turing machine exception classes¶
Exception classes specific to Turing machines.
InconsistentTapesException
¶
Bases: TMException
The number of tapes defined for the multitape Turing machine is not consistent with the definitions of the transitions.
InvalidDirectionError
¶
Bases: TMException
A direction is not a valid direction for this machine.
MalformedExtendedTapeError
¶
Bases: TMException
Extended tape for simulating an mntm as a ntm is not valid. Either there are 2 virtual heads for a virtual tape or the a head symbol is at the leftmost end of a virtual tape.
TMException
¶
Bases: AutomatonException
The base class for all machine-related errors.