public interface Simulation extends Runnable
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2014. All rights reserved.