Package toxi.sim.automata
Interface EvolvableMatrix
- All Known Implementing Classes:
CAMatrix
public interface EvolvableMatrix
-
Method Summary
-
Method Details
-
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
-