public class TrafCODDemo
extends org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
TrafCODDemo.TrafCODModel
The simulation model.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) JPanel |
controllerDisplayPanel
TrafCOD controller display.
|
| Constructor and Description |
|---|
TrafCODDemo() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
static void |
main(String[] args)
Main program.
|
protected Rectangle2D.Double |
makeAnimationRectangle() |
protected JPanel |
makeCharts(org.opentrafficsim.simulationengine.SimpleSimulatorInterface simulator) |
protected org.opentrafficsim.core.dsol.OTSModelInterface |
makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer) |
String |
shortName() |
JPanel controllerDisplayPanel
public static void main(String[] args) throws nl.tudelft.simulation.dsol.SimRuntimeException
args - String[]; the command line arguments (not used)nl.tudelft.simulation.dsol.SimRuntimeException - should never happenpublic String shortName()
public String description()
protected JPanel makeCharts(org.opentrafficsim.simulationengine.SimpleSimulatorInterface simulator) throws org.opentrafficsim.simulationengine.OTSSimulationException, org.opentrafficsim.base.modelproperties.PropertyException
makeCharts in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationorg.opentrafficsim.simulationengine.OTSSimulationExceptionorg.opentrafficsim.base.modelproperties.PropertyExceptionprotected org.opentrafficsim.core.dsol.OTSModelInterface makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer)
throws org.opentrafficsim.simulationengine.OTSSimulationException
makeModel in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationorg.opentrafficsim.simulationengine.OTSSimulationExceptionprotected Rectangle2D.Double makeAnimationRectangle()
makeAnimationRectangle in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationCopyright © 2014–2016 Delft University of Technology. All rights reserved.