Class RampMeteringDemo

All Implemented Interfaces:
Serializable, Remote, EventListener, org.djutils.cli.Checkable, org.djutils.event.EventListener

public class RampMeteringDemo extends AbstractSimulationScript

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:
  • Constructor Details

    • RampMeteringDemo

      protected RampMeteringDemo()
      Constructor.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Parameters:
      args - String[] command line arguments
      Throws:
      Exception - any exception
    • setupSimulation

      protected org.opentrafficsim.road.network.RoadNetwork setupSimulation(org.opentrafficsim.core.dsol.OtsSimulatorInterface sim) throws Exception
      Specified by:
      setupSimulation in class AbstractSimulationScript
      Throws:
      Exception
    • getParameterFactory

      final org.opentrafficsim.core.parameters.ParameterFactoryByType getParameterFactory()
      Returns the parameter factory.
      Returns:
      parameter factory
    • notify

      public void notify(org.djutils.event.Event event) throws RemoteException
      Specified by:
      notify in interface org.djutils.event.EventListener
      Overrides:
      notify in class AbstractSimulationScript
      Throws:
      RemoteException
    • onSimulationEnd

      protected void onSimulationEnd()
      Overrides:
      onSimulationEnd in class AbstractSimulationScript