|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object smithers.extras.Cellular
public class Cellular
Class to implement 1-dimensional cellular automata. This is currently a standalone program which runs on the command line. It should be given 3 arguments as follows. The first argument is the rule as an integer, as described in Wolfram's A New Kind Of Science. The second is the size of the area to operate on, which will be initialised as all 0s with a 1 in the middle. The third is the number of steps to run.
Constructor Summary | |
---|---|
Cellular()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Runs the automaton. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cellular()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |