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 OTSNetwork |
setupSimulation(OTSSimulatorInterface sim) |
animateNetwork, getBooleanProperty, getDoubleProperty, getDurationProperty, getGtuColorer, getIntegerProperty, getLongProperty, getNetwork, getProperty, getSimulator, getTimeProperty, notify, setAnimationToggles, setGtuColorer, setProperty, setupDemo, startprotected SdmSimulation(String[] properties)
properties - String[]; command line argumentspublic static void main(String... args)
args - String...; command line argumentsprotected void setDefaultProperties()
setDefaultProperties in class AbstractSimulationScriptprotected OTSNetwork setupSimulation(OTSSimulatorInterface sim) throws Exception
setupSimulation in class AbstractSimulationScriptExceptionprotected void addTabs(OTSSimulatorInterface sim, OTSSimulationApplication<?> animation)
addTabs in class AbstractSimulationScriptprotected void onSimulationEnd()
onSimulationEnd in class AbstractSimulationScriptCopyright © 2014–2019 Delft University of Technology. All rights reserved.