Documentation ¶
Index ¶
Constants ¶
View Source
const EmptyTapeLength = 5
Variables ¶
View Source
var ACTIONS = [...]string{"R", "L", "N"}
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction interface { Validate(m TuringMachine) bool Simulate() (state.State, symbol.Symbol, string) GetCurrentState() state.State GetSymbolScanned() symbol.Symbol GetNewState() state.State GetSymbolWritten() symbol.Symbol GetMoveTape() string Print() string }
Transaction interface
Click to show internal directories.
Click to hide internal directories.