Message Boards Message Boards

GROUPS:

Is there a way to use RulePlot for higher order rules?

Posted 6 months ago
884 Views
|
1 Reply
|
0 Total Likes
|

Have been using RulePlot to dig into the details of how CellularAutomaton work. I have tried several different ways to apply RulePlot to a higher order rule with s=2. This means that the next state depends on the two previous states, and thus requires two initialization tensors. For this case have tried RulePlot with and without initialization, and with and without a time spec. Here is an example of the case I am trying to work with;

RulePlot[CellularAutomaton[{31,2,1,2}]]

It returns unevaluated, event though

ArrayPlot[CellularAutomaton[{31,2,1,2},{{1,0,1,0},{0,1,0,1}},{{-1,10}}],Mesh->All]

works fine. Any suggestions would be appreciated.

Could you more explicitly convert the expression CellularAutomaton[{31,2,1,2}] into the proper input for RulePlot[] ? Perhaps RulePlot doesn't know what part of the expression is the rules.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract