Class ShortMerge

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ShortMerge extends OtsSimulationApplication<ShortMerge.ShortMergeModel>

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 Details

    • NETWORK

      static final String NETWORK
      Network.
      See Also:
    • TRUCK_FRACTION

      static final double TRUCK_FRACTION
      Truck fraction.
      See Also:
    • LEFT_FRACTION

      static final double LEFT_FRACTION
      Left traffic fraction.
      See Also:
    • MAIN_DEMAND

      static final org.djunits.value.vdouble.scalar.Frequency MAIN_DEMAND
      Main demand per lane.
    • RAMP_DEMAND

      static final org.djunits.value.vdouble.scalar.Frequency RAMP_DEMAND
      Ramp demand.
    • SYNCHRONIZATION

      static final Synchronization SYNCHRONIZATION
      Synchronization.
    • COOPERATION

      static final Cooperation COOPERATION
      Cooperation.
    • ADDITIONAL_INCENTIVES

      static final boolean ADDITIONAL_INCENTIVES
      Use additional incentives.
      See Also:
    • SIMTIME

      public static final org.djunits.value.vdouble.scalar.Time SIMTIME
      Simulation time.
  • Constructor Details

    • ShortMerge

      public ShortMerge(String title, OtsAnimationPanel panel, ShortMerge.ShortMergeModel model) throws org.opentrafficsim.draw.OtsDrawingException
      Create a ShortMerge Swing application.
      Parameters:
      title - String; the title of the Frame
      panel - OtsAnimationPanel; the tabbed panel to display
      model - ShortMergeModel; the model
      Throws:
      org.opentrafficsim.draw.OtsDrawingException - on animation error
  • Method Details