Class CellularAutomata
java.lang.Object
org.episteme.social.geography.urban.CellularAutomata
A generalized Cellular Automata model for simulating urban growth, land use change,
or traffic flow.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFunctional interface for CA transition rules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetState(int x, int y) voidsetState(int x, int y, int state) voidstep(CellularAutomata.Rule rule)
-
Constructor Details
-
CellularAutomata
public CellularAutomata(int width, int height)
-
-
Method Details
-
setState
public void setState(int x, int y, int state) -
getState
public int getState(int x, int y) -
step
-