smithers.extras
Class Cellular

java.lang.Object
  extended by smithers.extras.Cellular

public class Cellular
extends java.lang.Object

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

Cellular

public Cellular()
Method Detail

main

public static void main(java.lang.String[] args)
Runs the automaton.

Parameters:
args - the arguments