public class SteeringSimulation 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 |
SteeringSimulation(String[] properties) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String... args)
Start a simulation.
|
protected OTSNetwork |
setupSimulation(OTSSimulatorInterface sim)
Sets up the simulation based on provided properties.
|
addAnimationToggles, addTabs, animateNetwork, getBooleanProperty, getDoubleProperty, getDurationProperty, getGtuColorer, getIntegerProperty, getLongProperty, getNetwork, getProperty, getSimulator, getTimeProperty, notify, onSimulationEnd, setDefaultProperties, setGtuColorer, setProperty, setupDemo, start
protected SteeringSimulation(String[] properties)
properties
- String[]; propertiespublic static void main(String... args)
args
- String...; command line argumentsprotected OTSNetwork setupSimulation(OTSSimulatorInterface sim) throws Exception
getProperty()
. Setting up a
simulation should at least create a network and some demand. Additionally this may setup traffic control, sampling, etc.setupSimulation
in class AbstractSimulationScript
sim
- OTSSimulatorInterface; simulatorException
- on any exceptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.