public class RampMeteringDemo 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 |
RampMeteringDemo()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
notify(nl.tudelft.simulation.event.EventInterface event) |
protected void |
onSimulationEnd() |
protected OTSRoadNetwork |
setupSimulation(OTSSimulatorInterface sim) |
addTabs, animateNetwork, check, getGtuColorer, getNetwork, getSeed, getSimulationTime, getSimulator, getStartTime, getWarmupTime, isAutorun, setAnimationToggles, setGtuColorer, setupDemo, startpublic static void main(String[] args) throws Exception
args - String[] command line argumentsException - any exceptionprotected OTSRoadNetwork setupSimulation(OTSSimulatorInterface sim) throws Exception
setupSimulation in class AbstractSimulationScriptExceptionpublic void notify(nl.tudelft.simulation.event.EventInterface event)
throws RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfacenotify in class AbstractSimulationScriptRemoteExceptionprotected void onSimulationEnd()
onSimulationEnd in class AbstractSimulationScriptCopyright © 2014–2019 Delft University of Technology. All rights reserved.