Class SequentialLanes

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, UNITS

    public class SequentialLanes
    extends OTSSimulationApplication<org.opentrafficsim.demo.SequentialLanes.SequentialModel>
    implements UNITS
    Single lane road consisting of three consecutive links.
    Tests that GTUs correctly transfer themselves onto the next lane and that the graph samplers handle this situation.

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

    $LastChangedDate: 2020-05-16 03:09:46 +0200 (Sat, 16 May 2020) $, @version $Revision: 6473 $, by $Author: wjschakel $, initial version 30 jan. 2015

    Author:
    Alexander Verbraeck, Peter Knoppers
    See Also:
    Serialized Form
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main program.
        Parameters:
        args - String[]; the command line arguments (not used)
      • demo

        public static void demo​(boolean exitOnClose)
        Start the demo.
        Parameters:
        exitOnClose - boolean; when running stand-alone: true; when running as part of a demo: false
      • addStatisticsTabs

        protected final void addStatisticsTabs​(OTSSimulatorInterface simulator)
        Add the statistics tabs.
        Parameters:
        simulator - OTSSimulatorInterface; the simulator on which sampling can be scheduled