Details
The state for a mobile automaton is given in the form {{a1,a2,…}, n}, where the ai are values of cells and n is the position of the active cell.
The rules for a basic mobile automaton are given as a list of elements of the form {a-1,a0,a+1}→{ap,dn}, where ap is the new value of the active cell and dn is its displacement.
The rules for a block mobile automaton are given as a list of elements of the form {a-1,a0,a+1}→{{ap-1,ap0,ap+1},dn}, where the api are the new values for the block of cells and dn is the displacement of the active cell.
The rules for a generalized mobile automaton are given as a list of elements of the form {a-1,a0,a+1}→{ap,{dn-1,dn0,dn+1}}, where ap is the new value of the active cell and the dni are the new relative positions of the active cells.
The rules for a basic mobile automaton can be given as a pair of integers, in which case they will be decoded as specified in
A New Kind of Science, page
887.
If the position of the active cell would be outside the range defined by the list of cells given, it is taken to be
None.
ResourceFunction["MobileAutomaton"][rule,init,tspec] supports the following time specifications tspec:
t | all steps 0 through t |
{{t}} | step t alone |
{t1,t2} | steps t1 through t2 |
{t1,t2,dt} | steps t1,t1+dt,… |