Package org.opentrafficsim.ahfe
Class AnticipationRelianceScript
java.lang.Object
org.opentrafficsim.swing.script.AbstractSimulationScript
org.opentrafficsim.ahfe.AnticipationRelianceScript
- All Implemented Interfaces:
java.util.EventListener
,EventListenerInterface
,Checkable
public final class AnticipationRelianceScript extends AbstractSimulationScript
Distraction simulation.
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 9 apr. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description protected void
animateNetwork(OTSNetwork net)
static void
main(java.lang.String... args)
Main method.protected void
onSimulationEnd()
protected OTSRoadNetwork
setupSimulation(OTSSimulatorInterface sim)
Methods inherited from class org.opentrafficsim.swing.script.AbstractSimulationScript
addTabs, check, getGtuColorer, getNetwork, getSeed, getSimulationTime, getSimulator, getStartTime, getWarmupTime, isAutorun, notify, setAnimationToggles, setGtuColorer, setupDemo, start
-
Method Details
-
main
public static void main(java.lang.String... args)Main method.- Parameters:
args
- String[]; command line arguments
-
onSimulationEnd
protected void onSimulationEnd()- Overrides:
onSimulationEnd
in classAbstractSimulationScript
-
setupSimulation
- Specified by:
setupSimulation
in classAbstractSimulationScript
- Throws:
java.lang.Exception
-
animateNetwork
- Overrides:
animateNetwork
in classAbstractSimulationScript
-