swarm.space
Interface Ca2dC
- All Known Subinterfaces:
- ConwayLife2dC, Diffuse2dC
- All Known Implementing Classes:
- ConwayLife2dCImpl, Diffuse2dCImpl
- public interface Ca2dC
- extends DblBuffer2dC, DblBuffer2dS
Defines abstract protocol for cellular automata..
Inherits from DblBuffer2d, defines abstract protocol for cellular automata.
Method Summary |
java.lang.Object |
initializeLattice()
Use this to set up your CA to a default initial state. |
java.lang.Object |
setNumStates(int n)
Record the number of states the CA understands. |
setNumStates
public java.lang.Object setNumStates(int n)
- Record the number of states the CA understands.
initializeLattice
public java.lang.Object initializeLattice()
- Use this to set up your CA to a default initial state. Unimplemented in Ca2d; subclass this to set up initial state of lattice.