public interface OTSDEVSSimulatorInterface extends nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>, OTSSimulatorInterface
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.CalendarDouble, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.CalendarFloat, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.CalendarLong, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDouble, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeFloat, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeFloatUnit, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeLong, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeLongUnitEVENTLIST_CHANGED_EVENT| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelEvent(nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> event) |
nl.tudelft.simulation.dsol.eventlists.EventListInterface<OTSSimTimeDouble> |
getEventList() |
nl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> |
getReplication() |
void |
runUpTo(org.djunits.value.vdouble.scalar.Time when)
Runs the simulator up to a certain time; events at that time will not yet be executed.
|
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEvent(nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> event) |
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventAbs(OTSSimTimeDouble absoluteTime,
Object source,
Object target,
String method,
Object[] args) |
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventAbs(OTSSimTimeDouble absoluteTime,
short priority,
Object source,
Object target,
String method,
Object[] args) |
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventAbs(org.djunits.value.vdouble.scalar.Time absoluteTime,
Object source,
Object target,
String method,
Object[] args)
schedules a methodCall at an absolute time.
|
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventAbs(org.djunits.value.vdouble.scalar.Time absoluteTime,
short priority,
Object source,
Object target,
String method,
Object[] args)
schedules a methodCall at an absolute time.
|
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventNow(Object source,
Object target,
String method,
Object[] args) |
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventNow(short priority,
Object source,
Object target,
String method,
Object[] args) |
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventRel(org.djunits.value.vdouble.scalar.Duration relativeDelay,
Object source,
Object target,
String method,
Object[] args)
schedules a methodCall at a relative duration.
|
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> |
scheduleEventRel(org.djunits.value.vdouble.scalar.Duration relativeDelay,
short priority,
Object source,
Object target,
String method,
Object[] args)
schedules a methodCall at a relative duration.
|
void |
setEventList(nl.tudelft.simulation.dsol.eventlists.EventListInterface<OTSSimTimeDouble> eventList) |
isPauseOnError, runUpToAndIncluding, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventNow, scheduleEventNow, scheduleEventRel, scheduleEventRel, setPauseOnErrorgetSimulatorTime, initialize, isRunning, start, step, stopboolean cancelEvent(nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> event)
cancelEvent in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.eventlists.EventListInterface<OTSSimTimeDouble> getEventList()
getEventList in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEvent(nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> event) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEvent in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionnl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventRel(org.djunits.value.vdouble.scalar.Duration relativeDelay, short priority, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventRel in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>relativeDelay - the relativeDelay in timeUnits of the simulator.priority - the priority compared to other events scheduled at the same time.source - the source of the eventtarget - the targetmethod - the methodargs - the arguments.nl.tudelft.simulation.dsol.SimRuntimeException - whenever the event is scheduled in the past.nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventRel(org.djunits.value.vdouble.scalar.Duration relativeDelay, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventRel in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>relativeDelay - the relativeDelay in timeUnits of the simulator.source - the source of the eventtarget - the targetmethod - the methodargs - the arguments.nl.tudelft.simulation.dsol.SimRuntimeException - whenever the event is scheduled in the past.nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventAbs(OTSSimTimeDouble absoluteTime, short priority, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventAbs in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionnl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventAbs(org.djunits.value.vdouble.scalar.Time absoluteTime, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventAbs in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>absoluteTime - the exact time to schedule the method on the simulator.source - the source of the eventtarget - the targetmethod - the methodargs - the arguments.nl.tudelft.simulation.dsol.SimRuntimeException - whenever the event is scheduled in the past.nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventAbs(org.djunits.value.vdouble.scalar.Time absoluteTime, short priority, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventAbs in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>absoluteTime - the exact time to schedule the method on the simulator.priority - the priority compared to other events scheduled at the same time.source - the source of the eventtarget - the targetmethod - the methodargs - the arguments.nl.tudelft.simulation.dsol.SimRuntimeException - whenever the event is scheduled in the past.nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventAbs(OTSSimTimeDouble absoluteTime, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventAbs in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionnl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventNow(short priority, Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventNow in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionnl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<OTSSimTimeDouble> scheduleEventNow(Object source, Object target, String method, Object[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
scheduleEventNow in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionvoid setEventList(nl.tudelft.simulation.dsol.eventlists.EventListInterface<OTSSimTimeDouble> eventList) throws nl.tudelft.simulation.dsol.SimRuntimeException
setEventList in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>nl.tudelft.simulation.dsol.SimRuntimeExceptionnl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> getReplication()
getReplication in interface nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>void runUpTo(org.djunits.value.vdouble.scalar.Time when)
throws nl.tudelft.simulation.dsol.SimRuntimeException
runUpTo in interface nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>when - the absolute time till when we want to run the simulationnl.tudelft.simulation.dsol.SimRuntimeException - whenever starting fails. Possible occasions include starting a started simulatorCopyright © 2014–2018 Delft University of Technology. All rights reserved.