public interface OTSSimulatorInterface extends SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
SimulatorInterface.CalendarDouble, SimulatorInterface.CalendarFloat, SimulatorInterface.CalendarLong, SimulatorInterface.TimeDouble, SimulatorInterface.TimeDoubleUnit, SimulatorInterface.TimeFloat, SimulatorInterface.TimeFloatUnit, SimulatorInterface.TimeLong, SimulatorInterface.TimeLongUnitEND_OF_REPLICATION_EVENT, START_EVENT, START_REPLICATION_EVENT, STEP_EVENT, STOP_EVENT, TIME_CHANGED_EVENT, WARMUP_EVENT| Modifier and Type | Method and Description |
|---|---|
OTSSimTimeDouble |
getSimulatorTime() |
void |
initialize(Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> replication,
ReplicationMode replicationMode) |
boolean |
isRunning() |
void |
start() |
void |
step() |
void |
stop() |
getReplication, start, step, stopOTSSimTimeDouble getSimulatorTime()
getSimulatorTime in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>void initialize(Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> replication, ReplicationMode replicationMode) throws SimRuntimeException
initialize in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>SimRuntimeExceptionboolean isRunning()
isRunning in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>void start()
throws SimRuntimeException
start in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>SimRuntimeExceptionvoid step() throws SimRuntimeException
step in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>SimRuntimeExceptionvoid stop() throws SimRuntimeException
stop in interface SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>SimRuntimeExceptionCopyright © 2014–2017 Delft University of Technology. All rights reserved.