toxi.sim.automata
Interface EvolvableMatrix

All Known Implementing Classes:
CAMatrix

public interface EvolvableMatrix


Method Summary
 int getGeneration()
           
 int getHeight()
           
 int[] getMatrix()
           
 int[] getSwapBuffer()
           
 int getWidth()
           
 

Method Detail

getGeneration

int getGeneration()
Returns:
the current generation of the simulation.

getHeight

int getHeight()
Returns:
the matrix height

getMatrix

int[] getMatrix()
Returns:
the simulation matrix

getSwapBuffer

int[] getSwapBuffer()
Returns:
the temporary buffer used to compute the next generation

getWidth

int getWidth()
Returns:
the matrix width