Represents a direction in which the tape head can move
Contains the data for one step in the run of this UniversalTuringMachine
Denotes a possible command of a UniversalTuringMachine
Represents an UniversalTuringMachine object
Indicates the directions in which the tape head can move:
Indicates the directions in which the tape head can move:
1. MoveDirection.Left -> Left (head index - 1)
2. MoveDirection.Right -> Right (head index + 1)
3. MoveDirection.Neither -> Neither left nor right (head index +/- 0 = head index)
Minor String
utilities
Encapsulates a single possible operation of a Turing Machine, but here I call it the "Command"
The Launcher for the Universal Turing Machine simulator
The Launcher for the Universal Turing Machine simulator
The parameters are, in order:
1. The input file path
2. The tape size
3. The number of steps for which to run the program. Leave it negative to run it till it halts.
4. The number of milliseconds to pause before starting the next step. Leave this negative to pause for user input before every step.
All these parameters are required.
Only supports program input as files.
Represents a universal Turing Machine
Contains the data for one step in the run of this UniversalTuringMachine
an indicator whether to continue for the next step
the tape head index after this step
the state of this UniversalTuringMachine after this step
the tape of this UniversalTuringMachine as soon as this step has completed