Package org.opentrafficsim.demo
Class RampMeteringDemo
java.lang.Object
org.opentrafficsim.swing.script.AbstractSimulationScript
org.opentrafficsim.demo.RampMeteringDemo
- All Implemented Interfaces:
 java.util.EventListener,EventListenerInterface,Checkable
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.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version 12 jun. 2019 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedRampMeteringDemo()Constructor. - 
Method Summary
Modifier and Type Method Description static voidmain(java.lang.String[] args)voidnotify(EventInterface event)protected voidonSimulationEnd()protected OTSRoadNetworksetupSimulation(OTSSimulatorInterface sim)Methods inherited from class org.opentrafficsim.swing.script.AbstractSimulationScript
addTabs, animateNetwork, check, getGtuColorer, getNetwork, getSeed, getSimulationTime, getSimulator, getStartTime, getWarmupTime, isAutorun, setAnimationToggles, setGtuColorer, setupDemo, start 
- 
Constructor Details
- 
RampMeteringDemo
protected RampMeteringDemo()Constructor. 
 - 
 - 
Method Details
- 
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Parameters:
 args- String[] command line arguments- Throws:
 java.lang.Exception- any exception
 - 
setupSimulation
- Specified by:
 setupSimulationin classAbstractSimulationScript- Throws:
 java.lang.Exception
 - 
notify
- Specified by:
 notifyin interfaceEventListenerInterface- Overrides:
 notifyin classAbstractSimulationScript- Throws:
 java.rmi.RemoteException
 - 
onSimulationEnd
protected void onSimulationEnd()- Overrides:
 onSimulationEndin classAbstractSimulationScript
 
 -