Class ShortMerge.ShortMergeModel

java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.dsol.model.AbstractDsolModel<org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OtsSimulatorInterface>
org.opentrafficsim.core.dsol.AbstractOtsModel
org.opentrafficsim.demo.ShortMerge.ShortMergeModel
All Implemented Interfaces:
Serializable, Remote, nl.tudelft.simulation.dsol.model.DsolModel<org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OtsSimulatorInterface>, org.djutils.event.EventProducer, org.opentrafficsim.core.dsol.OtsModelInterface
Enclosing class:
ShortMerge

public static class ShortMerge.ShortMergeModel extends org.opentrafficsim.core.dsol.AbstractOtsModel

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
  • Field Summary

    Fields inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel

    inputParameterMap, outputStatistics, simulator, streamInformation

    Fields inherited from interface org.djutils.event.EventProducer

    FIRST_POSITION, LAST_POSITION
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShortMergeModel(org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    void
     

    Methods inherited from class org.opentrafficsim.core.dsol.AbstractOtsModel

    getDescription, getShortName, setDescription, setInitialStreams, setShortName

    Methods inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel

    addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getSimulator, getStreamInformation, setStreamInformation

    Methods 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, removeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nl.tudelft.simulation.dsol.model.DsolModel

    getDefaultStream, getInputParameterMap, getOutputStatistics, getSimulator, getStream, getStreamInformation, getStreams, resetStreams, setStreamInformation
  • Constructor Details

    • ShortMergeModel

      public ShortMergeModel(org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
      Parameters:
      simulator - OtsSimulatorInterface; the simulator
  • Method Details

    • setNetwork

      public void setNetwork(RoadNetwork network)
      Parameters:
      network - RoadNetwork; set network.
    • constructModel

      public void constructModel() throws nl.tudelft.simulation.dsol.SimRuntimeException
      Throws:
      nl.tudelft.simulation.dsol.SimRuntimeException
    • getNetwork

      public RoadNetwork getNetwork()