public class OTSDEVSRTParallelMove
extends nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit>
Copyright (c) 2013-2018 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.DEVSRealTimeClock.CalendarDouble, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.CalendarFloat, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.CalendarLong, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.TimeDouble, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.TimeDoubleUnit, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.TimeFloat, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.TimeFloatUnit, nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.TimeLongBACKLOG_EVENT, CHANGE_SPEED_FACTOR_EVENTreplication, running, semaphore, simulatorTime, workerEVENTLIST_CHANGED_EVENTEND_OF_REPLICATION_EVENT, START_EVENT, START_REPLICATION_EVENT, STEP_EVENT, STOP_EVENT, TIME_CHANGED_EVENT, WARMUP_EVENT| Constructor and Description |
|---|
OTSDEVSRTParallelMove()
Create a new OTSRealTimeClock.
|
OTSDEVSRTParallelMove(int moveThreads)
Create a new OTSRealTimeClock.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMoveThreads() |
protected org.djunits.value.vdouble.scalar.Duration |
relativeMillis(double factor) |
void |
run() |
void |
setMoveThreads(int moveThreads) |
String |
toString() |
getSpeedFactor, getUpdateMsec, isCatchup, setCatchup, setSpeedFactor, setSpeedFactor, setUpdateMsecgetAnimationDelay, setAnimationDelay, updateAnimationautoPauseSimulator, cancelEvent, getEventList, initialize, isPauseOnError, runUpTo, runUpToAndIncluding, scheduleEvent, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventNow, scheduleEventNow, scheduleEventNow, scheduleEventNow, scheduleEventRel, scheduleEventRel, scheduleEventRel, scheduleEventRel, setEventList, setPauseOnError, step, stopcleanUp, getReplication, getSimTime, getSimulatorTime, isRunning, start, start, step, stopaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancelEvent, getEventList, isPauseOnError, runUpTo, runUpToAndIncluding, scheduleEvent, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventAbs, scheduleEventNow, scheduleEventNow, scheduleEventNow, scheduleEventNow, scheduleEventRel, scheduleEventRel, scheduleEventRel, scheduleEventRel, setEventList, setPauseOnErrorpublic OTSDEVSRTParallelMove(int moveThreads)
moveThreads - The number of move threads to usepublic OTSDEVSRTParallelMove()
public final void setMoveThreads(int moveThreads)
moveThreads - set moveThreadspublic final int getMoveThreads()
protected final org.djunits.value.vdouble.scalar.Duration relativeMillis(double factor)
relativeMillis in class nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit>Copyright © 2014–2018 Delft University of Technology. All rights reserved.