swarm.space
Interface Ca2d

All Known Subinterfaces:
ConwayLife2d, Diffuse2d
All Known Implementing Classes:
ConwayLife2dImpl, Diffuse2dImpl

public interface Ca2d
extends DblBuffer2d, DblBuffer2dS

Defines abstract protocol for cellular automata.. Inherits from DblBuffer2d, defines abstract protocol for cellular automata.


Method Summary
 java.lang.Object stepRule()
          One iteration of the CA rule.
 
Methods inherited from interface swarm.space.DblBuffer2d
putObject$atX$Y, putValue$atX$Y, updateLattice
 
Methods inherited from interface swarm.space.Discrete2d
copyDiscrete2d$toDiscrete2d, fastFillWithObject, fastFillWithValue, fillWithObject, fillWithValue, setDiscrete2d$toFile
 
Methods inherited from interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods inherited from interface swarm.space.GridData
getObjectAtX$Y, getSizeX, getSizeY, getValueAtX$Y
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from interface swarm.defobj.GetName
getName
 

Method Detail

stepRule

public java.lang.Object stepRule()
One iteration of the CA rule. Unimplemented in Ca2d; subclass this to implement your CA rule.