Class TrafCodDemo2.TrafCodModel
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.dsol.model.AbstractDsolModel<Duration,OtsSimulatorInterface>
org.opentrafficsim.core.dsol.AbstractOtsModel
org.opentrafficsim.road.network.factory.xml.OtsXmlModel
org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
- All Implemented Interfaces:
EventListener,nl.tudelft.simulation.dsol.model.DsolModel<Duration,,OtsSimulatorInterface> EventListener,EventProducer,OtsModelInterface
- Enclosing class:
- TrafCodDemo2
The simulation model.
-
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
ConstructorsConstructorDescriptionTrafCodModel(OtsSimulatorInterface simulator, String shortName, String description) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.road.network.factory.xml.OtsXmlModel
constructModel, constructModel, getNetworkMethods inherited from class org.opentrafficsim.core.dsol.AbstractOtsModel
defaultInitialStreams, getDescription, getShortName, setDescription, setShortNameMethods inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel
addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getResetApplicationExecutable, getSimulator, getStreamInformation, resetApplication, setInputParameterMap, setResetApplicationExecutable, setStreamInformationMethods inherited from class org.djutils.event.LocalEventProducer
getEventListenerMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.dsol.model.DsolModel
getDefaultStream, getInputParameterBoolean, getInputParameterDouble, getInputParameterDoubleScalar, getInputParameterFloat, getInputParameterFloatScalar, getInputParameterInteger, getInputParameterLocalDateTime, getInputParameterLong, getInputParameterMap, getInputParameterString, getInputParameterUnit, getOutputStatistics, getResetApplicationExecutable, getSimulator, getStream, getStreamInformation, getStreams, resetApplication, resetStreams, setInputParameterMap, setResetApplicationExecutable, setStreamInformationMethods inherited from interface org.djutils.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
Constructor Details
-
TrafCodModel
Constructor.- Parameters:
simulator- the simulatorshortName- name of the modeldescription- description of the model
-
-
Method Details
-
notify
- Specified by:
notifyin interfaceEventListener
-
toString
-