Message Boards Message Boards

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

Posted 4 years ago

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.

POSTED BY: John McGee

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.

POSTED BY: David Whitten
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