|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Simulation
Classes implementing this interface define agent-based simulation models.
Method Summary | |
---|---|
Population |
getPopulation()
Fetch the Population of agents for this simulation. |
SimulationController |
getSimulationController()
Fetch the simulation controller for this simulation. |
SimulationTime |
getSimulationTime()
Query the current simulation time. |
void |
pause()
Pause the simulation. |
void |
resume()
Resume the simulation after pausing. |
void |
slow(int slowSleepInterval)
Slow down the simulation. |
void |
terminate()
Terminate the simulation. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
SimulationController getSimulationController()
SimulationTime getSimulationTime()
Population getPopulation()
void pause()
void resume()
void terminate()
void slow(int slowSleepInterval)
slowSleepInterval
- The number of ms to sleep between ticks.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |