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.
Modifier | Constructor and Description |
---|---|
protected |
SdmSimulation(String[] properties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addTabs(OTSSimulatorInterface sim,
OTSSimulationApplication<?> animation) |
static void |
main(String... args)
Start a simulation.
|
protected void |
onSimulationEnd() |
protected void |
setDefaultProperties() |
protected OTSRoadNetwork |
setupSimulation(OTSSimulatorInterface sim) |
animateNetwork, getBooleanProperty, getDoubleProperty, getDurationProperty, getGtuColorer, getIntegerProperty, getLongProperty, getNetwork, getProperty, getSimulator, getTimeProperty, notify, setAnimationToggles, 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 OTSRoadNetwork setupSimulation(OTSSimulatorInterface sim) throws Exception
setupSimulation
in class AbstractSimulationScript
Exception
protected void addTabs(OTSSimulatorInterface sim, OTSSimulationApplication<?> animation)
addTabs
in class AbstractSimulationScript
protected void onSimulationEnd()
onSimulationEnd
in class AbstractSimulationScript
Copyright © 2014–2019 Delft University of Technology. All rights reserved.