Package org.opentrafficsim.demo.conflict
Class TJunctionDemo.TJunctionModel
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.dsol.model.AbstractDSOLModel<Duration,org.opentrafficsim.core.dsol.OtsSimulatorInterface>
org.opentrafficsim.core.dsol.AbstractOtsModel
org.opentrafficsim.demo.conflict.TJunctionDemo.TJunctionModel
- All Implemented Interfaces:
Serializable,Remote,DSOLModel<Duration,,org.opentrafficsim.core.dsol.OtsSimulatorInterface> org.djutils.event.EventProducer,org.opentrafficsim.core.dsol.OtsModelInterface
- Enclosing class:
- TJunctionDemo
public static class TJunctionDemo.TJunctionModel
extends org.opentrafficsim.core.dsol.AbstractOtsModel
The simulation model.
- See Also:
-
Field Summary
Fields inherited from class nl.tudelft.simulation.dsol.model.AbstractDSOLModel
inputParameterMap, outputStatistics, simulator, streamInformationFields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION -
Constructor Summary
ConstructorsConstructorDescriptionTJunctionModel(org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) -
Method Summary
Methods inherited from class org.opentrafficsim.core.dsol.AbstractOtsModel
getDescription, getShortName, setDescription, setInitialStreams, setShortNameMethods inherited from class nl.tudelft.simulation.dsol.model.AbstractDSOLModel
addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getSimulator, getStreamInformation, setStreamInformationMethods inherited from class org.djutils.event.LocalEventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventListenerMap, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.dsol.model.DSOLModel
getDefaultStream, getInputParameterMap, getOutputStatistics, getSimulator, getStream, getStreamInformation, getStreams, resetStreams, setStreamInformation
-
Constructor Details
-
TJunctionModel
public TJunctionModel(org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) - Parameters:
simulator- OtsSimulatorInterface; the simulator for this model
-
-
Method Details
-
constructModel
- Throws:
SimRuntimeException
-
getNetwork
-