Class CustomSimulation

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

public class CustomSimulation extends OtsSimulationApplication<CustomSimulation.CustomModel>
Custom simulation uses the custom model class where the network and other simulation aspects are externally specified.

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

See Also:
  • Constructor Details

  • Method Details

    • demo

      public static void demo(boolean exitOnClose, org.opentrafficsim.core.dsol.OtsAnimator simulator, CustomSimulation.CustomModel model)
      Start the simulation.
      Parameters:
      exitOnClose - when running stand-alone: true; when running as part of a demo: false
      simulator - simulator.
      model - model.