Package org.opentrafficsim.demo
Class RampMeteringDemo
java.lang.Object
org.opentrafficsim.swing.script.AbstractSimulationScript
org.opentrafficsim.demo.RampMeteringDemo
- All Implemented Interfaces:
 Serializable,Remote,EventListener,org.djutils.cli.Checkable,org.djutils.event.EventListener
 Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription(package private) final org.opentrafficsim.core.parameters.ParameterFactoryByTypeReturns the parameter factory.static voidvoidnotify(org.djutils.event.Event event) protected voidprotected RoadNetworksetupSimulation(org.opentrafficsim.core.dsol.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
- Parameters:
 args- String[] command line arguments- Throws:
 Exception- any exception
 - 
setupSimulation
protected RoadNetwork setupSimulation(org.opentrafficsim.core.dsol.OtsSimulatorInterface sim) throws Exception - Specified by:
 setupSimulationin classAbstractSimulationScript- Throws:
 Exception
 - 
getParameterFactory
final org.opentrafficsim.core.parameters.ParameterFactoryByType getParameterFactory()Returns the parameter factory.- Returns:
 - ParameterFactoryByType; parameter factory
 
 - 
notify
- Specified by:
 notifyin interfaceorg.djutils.event.EventListener- Overrides:
 notifyin classAbstractSimulationScript- Throws:
 RemoteException
 - 
onSimulationEnd
protected void onSimulationEnd()- Overrides:
 onSimulationEndin classAbstractSimulationScript
 
 -