Initialize machine with given arguments.
When it has infinite cells(infiniteLeft and/or infiniteRight is true), this class only supports the following rule ―
If emptyCell == 0, then rule must be even;
else rule must be less than 128.
the rule number.
Optional emptyOptional infiniteOptional infiniteReturns configuration(current status) of this machine.
Current status of this machine if ElementaryCellularAutomaton.start was called, null otherwise.
A ECA's configuration is represented as follows:
Proceeds with this machine. This method must be called after ElementaryCellularAutomaton.start called, or get an error,
Non-negative integer indicating how many steps to advance this machine.
Generated using TypeDoc
A object for simulate the Elementary cellular automaton(Rule **).