Uses of Class
org.opentrafficsim.trafficcontrol.TrafficControlException
Package
Description
Coupling of OTS with external CCOL traffic controller.
TrafCOD interpreter.
-
Uses of TrafficControlException in org.opentrafficsim.trafficcontrol.ccol
ModifierConstructorDescriptionCcol
(String id, String controlProgram, Set<TrafficLight> trafficLights, Set<TrafficLightDetector> sensors, org.opentrafficsim.core.dsol.OtsSimulator simulator) Construct a new CCOL communication link. -
Uses of TrafficControlException in org.opentrafficsim.trafficcontrol.trafcod
Modifier and TypeMethodDescriptionvoid
Variable.addOutput
(TrafficLight trafficLight) Add a traffic light to this variable.void
TrafCod.checkConsistency()
Check the consistency of the traffic control program and perform initializations that require a completely built network.int
Variable.conflictGroupRank()
Retrieve the rank of the conflict group that this Variable represents.boolean
Variable.decrementTimer
(int timeStamp10) Decrement the value of a timer.Variable.getColor()
Retrieve the color for an output Variable.int
Variable.getTimerMax()
Retrieve the start value of this timer in units of 0.1 seconds (1 second is represented by the value 10).(package private) static String
Print a tokenized rule.void
Variable.setEndSource
(String endSource) Set the description of the rule that ends this variable.void
Variable.setOutput
(int colorValue) Make this variable an output variable and set the color value.void
Variable.setStartSource
(String startSource) Set the description of the rule that starts this variable.void
Variable.setTimerMax
(int value10) Set the maximum time of this timer.void
Variable.subscribeToDetector
(TrafficLightDetector sensor) Link a detector variable to a sensor.ModifierConstructorDescriptionConstruct a new diagram.(package private)
NameAndStream
(String text, String locationDescription) Parse a TrafCOD identifier and extract all required information.(package private)
RouteStep
(int x, int y, Diagram.Command command) Construct a RouteStep with a command condition.(package private)
RouteStep
(Diagram.Command command) Construct a RouteStep for ELSE or END_IF command.(package private)
RouteStep
(Diagram.Command command, int streamCondition) Construct a RouteStep with a command condition.TrafCod
(String controllerName, URL trafCodURL, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, Container display, BufferedImage displayBackground, List<String> displayObjectLocations) Construct a new TrafCOD traffic light controller.TrafCod
(String controllerName, List<String> trafCODRules, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, BufferedImage displayBackground, List<String> displayObjectLocations) Construct a new TrafCOD traffic light controller.