public class ExtendedSimulationRuntime
extends org.liris.smartgov.simulator.core.simulation.SimulationRuntime
| Constructor and Description |
|---|
ExtendedSimulationRuntime(org.liris.smartgov.simulator.core.environment.SmartGovContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
restart(org.liris.smartgov.simulator.core.environment.SmartGovContext context)
Allows to restart the temporal parts of the simulation.
|
void |
stop()
Stop a running simulation.
|
addSimulationPausedListener, addSimulationResumedListener, addSimulationStartedListener, addSimulationStepListener, addSimulationStoppedListener, getClock, getContext, getSimulationThread, getTickCount, getTickDelay, getTickDuration, isRunning, pause, resume, setTickDelay, setTickDuration, start, start, step, waitUntilSimulatioEndpublic ExtendedSimulationRuntime(org.liris.smartgov.simulator.core.environment.SmartGovContext context)
public void restart(org.liris.smartgov.simulator.core.environment.SmartGovContext context)
context - current contextpublic void stop()
stop in class org.liris.smartgov.simulator.core.simulation.SimulationRuntimejava.lang.IllegalStateException - if no simulation is running.