getRuleNumber.CellularAutomaton {CellularAutomaton}R Documentation

Elementary Rule of a One-Dimensional Cellular Automaton

Description

This method extracts the rule number from an instance of class "CellularAutomaton".

Details

ca$getRuleNumber()

Value

getRuleNumber returns the rule number for the automaton, provided that an elementary rule was specified by the user. If the user supplied his/her own rule, then this method returns -1.

Author(s)

John Hughes


[Package CellularAutomaton version 1.0 Index]