Wolfram Computation Meets Knowledge

MobileAutomatonRulePlot

Contributed by: Stephen Wolfram

Generate the rule icon for a mobile automaton.

ResourceFunction["MobileAutomatonRulePlot"][rules]

generates a plot representing rules for a mobile automaton.

Details and Options

Generalized mobile automata are not supported.

Examples

Basic Examples

Generate rule icons:

In[1]:=
ResourceFunction[
 "MobileAutomatonRulePlot"][{{1, 1, 1} -> {0, 1}, {1, 1, 0} -> {0, 1}, {1, 0, 1} -> {1, -1}, {1, 0, 0} -> {0, -1}, {0, 1, 1} -> {0, -1}, {0, 1, 0} -> {0, 1}, {0, 0, 1} -> {1, 1}, {0, 0, 0} -> {1, -1}}]
Out[1]=

Generate rule icons by rule number:

In[2]:=
ResourceFunction["MobileAutomatonRulePlot"][{57, 37}]
Out[2]=

Slightly more complicated rules:

In[3]:=
ResourceFunction[
 "MobileAutomatonRulePlot"][{{1, 1, 1} -> {{0, 0, 0}, -1}, {1, 1, 0} -> {{1, 0, 1}, -1}, {1, 0, 1} -> {{1, 1, 1}, 1}, {1, 0, 0} -> {{1, 0, 0}, 1}, {0, 1, 1} -> {{0, 0, 0}, 1}, {0, 1, 0} -> {{0, 1, 1}, -1}, {0, 0, 1} -> {{1, 0, 1}, 1}, {0, 0, 0} -> {{1, 1, 1}, 1}}]
Out[3]=

Resource History

Source Metadata