Requires all parameters.
Requires all parameters.
The list of possible commands
The initial state of this UniversalTuringMachine
The possible halting states of this UniversalTuringMachine
The initializer for the tape of this UniversalTuringMachine
The length of the tape of this UniversalTuringMachine
The list of possible commands
Equality comparison of this UniversalTuringMachine object with the argument
Equality comparison of this UniversalTuringMachine object with the argument
Uses a toString()
and hashCode()
trick
the object to compare this UniversalTuringMachine object for equality to
whether this UniversalTuringMachine equals {other}
A hash code for this UniversalTuringMachine object, derived from {toString()}
A hash code for this UniversalTuringMachine object, derived from {toString()}
Fills the tape initially with the tapeFiller contents repeatedly.
Fills the tape initially with the tapeFiller contents repeatedly.
a properly initialized tape
The initial state of this UniversalTuringMachine
Runs the program for the specified number of steps or till the program halts (if the specified number of steps is negative)
Runs the program for the specified number of steps or till the program halts (if the specified number of steps is negative)
the number of steps for which the program is run. Supply negative values to run till halt
the history of the tape in each step as a Seq
of Seq
s of
String
s
Runs one step of a program
Runs one step of a program
the tape head
the current state
the current tape of this UniversalTuringMachine
a StepData instance containing the data for the next step
The initializer for the tape of this UniversalTuringMachine
The length of the tape of this UniversalTuringMachine
Append the default halt state to the list of termination states
The possible halting states of this UniversalTuringMachine
A String
representation of this UniversalTuringMachine
object
A String
representation of this UniversalTuringMachine
object
Represents an UniversalTuringMachine object