public class SdmSimulation extends AbstractSimulationScript
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
animationPanel
Modifier | Constructor and Description |
---|---|
protected |
SdmSimulation(String[] properties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addTabs(OTSSimulatorInterface sim,
OTSSwingApplication animation) |
static void |
main(String... args)
Start a simulation.
|
protected void |
onSimulationEnd() |
protected void |
setDefaultProperties() |
protected OTSNetwork |
setupSimulation(OTSSimulatorInterface sim) |
addAnimationToggles, animateNetwork, getBooleanProperty, getDoubleProperty, getDurationProperty, getGtuColorer, getIntegerProperty, getLongProperty, getNetwork, getProperty, getSimulator, getTimeProperty, notify, setGtuColorer, setProperty, setupDemo, start
protected SdmSimulation(String[] properties)
properties
- String[]; command line argumentspublic static void main(String... args)
args
- String...; command line argumentsprotected void setDefaultProperties()
setDefaultProperties
in class AbstractSimulationScript
protected OTSNetwork setupSimulation(OTSSimulatorInterface sim) throws Exception
setupSimulation
in class AbstractSimulationScript
Exception
protected void addTabs(OTSSimulatorInterface sim, OTSSwingApplication animation)
addTabs
in class AbstractSimulationScript
protected void onSimulationEnd()
onSimulationEnd
in class AbstractSimulationScript
Copyright © 2014–2019 Delft University of Technology. All rights reserved.