Package toxi.sim.automata
Interface CARule
- All Superinterfaces:
MatrixEvolver
- All Known Implementing Classes:
CARule2D
,CAWolfram1D
This interface defines the required API for a
CAMatrix
compatible
cellular automata rule implementation.-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
isTiling()
void
void
setAutoExpire
(boolean isAutoExpire) void
setStateCount
(int num) void
setTiling
(boolean state) Methods inherited from interface toxi.sim.automata.MatrixEvolver
evolve
-
Method Details
-
getStateCount
int getStateCount() -
isAutoExpire
boolean isAutoExpire() -
isTiling
boolean isTiling() -
randomize
void randomize() -
setAutoExpire
void setAutoExpire(boolean isAutoExpire) -
setStateCount
void setStateCount(int num) -
setTiling
void setTiling(boolean state)
-