Package org.opentrafficsim.core.dsol
Class AbstractOtsModelTest.OtsModel
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.dsol.model.AbstractDSOLModel<Duration,OtsSimulatorInterface>
org.opentrafficsim.core.dsol.AbstractOtsModel
org.opentrafficsim.core.dsol.AbstractOtsModelTest.OtsModel
- All Implemented Interfaces:
Serializable,Remote,DSOLModel<Duration,,OtsSimulatorInterface> org.djutils.event.EventProducer,OtsModelInterface
- Enclosing class:
- AbstractOtsModelTest
OTS model for testing.
-
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
ConstructorsConstructorDescriptionOtsModel(OtsSimulatorInterface simulator) Construct the instrumented OtsModel.OtsModel(OtsSimulatorInterface simulator, String shortName, String description) Construct the instrumented OtsModel. -
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
-
OtsModel
OtsModel(OtsSimulatorInterface simulator, String shortName, String description) Construct the instrumented OtsModel.- Parameters:
simulator- the simulatorshortName- the name of the modeldescription- the description of the model
-
OtsModel
OtsModel(OtsSimulatorInterface simulator) Construct the instrumented OtsModel.- Parameters:
simulator- the simulator
-
-
Method Details
-
getNetwork
-
constructModel
- Throws:
SimRuntimeException
-