A B C D E F G H I L M N O P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractTrafficController - Class in org.opentrafficsim.trafficcontrol
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- AbstractTrafficController(String, OTSSimulatorInterface) - Constructor for class org.opentrafficsim.trafficcontrol.AbstractTrafficController
-
Constructor for traffic controller.
- ActuatedTrafficController - Interface in org.opentrafficsim.trafficcontrol
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
B
- BEING_CLONED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Traffic controller is being cloned.
C
- CCOL - Class in org.opentrafficsim.trafficcontrol.ccol
-
Communication link with a CCOL traffic control program.
- CCOL(String, String, Set<TrafficLight>, Set<TrafficLightSensor>, DEVSSimulator<Time, Duration, SimTimeDoubleUnit>) - Constructor for class org.opentrafficsim.trafficcontrol.ccol.CCOL
-
Construct a new CCOL communication link.
- checkConsistency() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Check the consistency of the traffic control program and perform initializations that require a completely built network.
- clone() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Clones the object for a cloned simulation.
- clone(OTSSimulatorInterface, Network) - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
- clone(OTSSimulatorInterface, Network) - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- clone(OTSSimulatorInterface, Network) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
D
- Diagram - Class in org.opentrafficsim.trafficcontrol.trafcod
-
Functions that can draw a schematic diagram of an intersection given the list of traffic streams.
- Diagram(Set<Short>) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
Construct a new diagram.
E
- equals(Object) - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
F
- FixedTimeController - Class in org.opentrafficsim.trafficcontrol
-
Fixed time traffic light control.
- FixedTimeController(String, OTSSimulatorInterface, Network, Duration, Duration, Set<FixedTimeController.SignalGroup>) - Constructor for class org.opentrafficsim.trafficcontrol.FixedTimeController
-
Constructor for fixed time traffic controller.
- FixedTimeController.SignalGroup - Class in org.opentrafficsim.trafficcontrol
-
Fixed time signal group.
G
- getCurrentColor() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Retrieve the current color of this SignalGroup.
- getCycleTime() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- getDetectorImage(String) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
-
Look up a DetectorImage.
- getDisplayContainer() - Method in interface org.opentrafficsim.trafficcontrol.ActuatedTrafficController
-
Retrieve the Swing (for now) container in which the controller displays its current state.
- getDisplayContainer() - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
-
Retrieve the Swing (for now) container in which the controller displays its current state.
- getDisplayContainer() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the Swing (for now) container in which the controller displays its current state.
- getFullId() - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
- getFullId() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- getFullId() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
- getGreen() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getId() - Method in class org.opentrafficsim.trafficcontrol.AbstractTrafficController
- getId() - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
-
Retrieve the Id of the traffic light controller.
- getId() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Retrieve the id of this signal group.
- getId() - Method in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Retrieve the Id of the traffic light controller.
- getOffset() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- getOffset() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getPreGreen() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getRed() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getSignalGroups() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- getSimulator() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the simulator.
- getSourceId() - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
- getSourceId() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- getSourceId() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
- getStructureNumber() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the structure number.
- getTrafficLightIds() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getTrafficLights() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- getYellow() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
H
- hashCode() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
I
- isGrass(int) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
Report if object is inaccessible to all traffic.
L
- loadTextFromURL(URL) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Read a text from a URL and convert it to a list of strings.
M
- main(String[]) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
Test the Diagram code.
- makeCheckBox(int, boolean) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
Make a check box to switch a particular stream number on or off.
- mouseClicked(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mouseDragged(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mouseEntered(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mouseExited(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mouseMoved(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mousePressed(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
- mouseReleased(MouseEvent) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
N
- NO_STREAM - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Constant to select variables that have no associated traffic stream.
- notify(EventInterface) - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
- notify(EventInterface) - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- notify(EventInterface) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
O
- OFF - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Traffic controller is off.
- org.opentrafficsim.trafficcontrol - package org.opentrafficsim.trafficcontrol
-
Traffic control for OTS.
- org.opentrafficsim.trafficcontrol.ccol - package org.opentrafficsim.trafficcontrol.ccol
-
Coupling of OTS with external CCOL traffic controller.
- org.opentrafficsim.trafficcontrol.trafcod - package org.opentrafficsim.trafficcontrol.trafcod
-
TrafCOD interpreter.
P
- paintComponent(Graphics) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
R
- render() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
Create a BufferedImage and render the schematic on it.
- RUNNING - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Traffic controller is running.
S
- SHUTTING_DOWN - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Traffic controller is shutting down.
- SignalGroup(String, Set<String>, Duration, Duration, Duration) - Constructor for class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Constructor without pre-green duration.
- SignalGroup(String, Set<String>, Duration, Duration, Duration, Duration) - Constructor for class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Constructor with pre-green duration.
- STARTING_UP - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Traffic controller is starting up.
- startup(Duration, Duration, OTSSimulatorInterface, Network) - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
-
Connect to the traffic lights in the network, initialize the traffic lights to their initial color and schedule the first transitions.
T
- toString() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController.SignalGroup
- toString() - Method in class org.opentrafficsim.trafficcontrol.FixedTimeController
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
- traceVariable(String, int, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Switch tracing of one variable on or off.
- traceVariablesOfStream(int, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Switch tracing of all variables of a particular traffic stream, or all variables that do not have an associated traffic stream on or off.
- TrafCOD - Class in org.opentrafficsim.trafficcontrol.trafcod
-
TrafCOD evaluator.
- TrafCOD(String, URL, OTSSimulatorInterface, Container, BufferedImage, List<String>) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Construct a new TrafCOD traffic light controller.
- TrafCOD(String, List<String>, OTSSimulatorInterface, BufferedImage, List<String>) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Construct a new TrafCOD traffic light controller.
- TrafCODDisplay - Class in org.opentrafficsim.trafficcontrol.trafcod
-
Display the current state of a TrafCOD machine.
- TrafCODDisplay(BufferedImage) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
-
Construct a new TrafCODDisplay.
- TRAFFIC_LIGHT_CHANGED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timedevent that is fired by a traffic control program when a traffic light must change state.
- TRAFFICCONTROL_CONFLICT_GROUP_CHANGED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event for pub/sub emitted by a traffic control machine when it changes to another conflict group.
- TRAFFICCONTROL_CONTROLLER_CREATED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type for pub/sub that a newly created traffic controller emits.
- TRAFFICCONTROL_CONTROLLER_EVALUATING - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type for pub/sub that a traffic controller emits when it begins the computations to determine its response to the current input (detector states).
Payload: Object[] { String trafficControllerId } - TRAFFICCONTROL_CONTROLLER_WARNING - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type for pub/sub that a traffic controller uses to convey warnings.
Payload: Object[] { String trafficControllerId, String message } - TRAFFICCONTROL_SET_TRACING - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type that instruct a traffic controller to change the tracing level of a variable.
- TRAFFICCONTROL_STATE_CHANGED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event for pub/sub emitted by a traffic control machine when it changes state (STARTING_UP, RUNNING, SHUTTING_DOWN, OFF, etc.
- TRAFFICCONTROL_TRACED_VARIABLE_UPDATED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type for pub/sub indicating the update of a traced control program variable.
- TRAFFICCONTROL_VARIABLE_CREATED - Static variable in interface org.opentrafficsim.trafficcontrol.TrafficController
-
The timed event type for pub/sub indicating the creation of a traffic control program variable.
- TrafficControlException - Exception in org.opentrafficsim.trafficcontrol
-
Exceptions thrown by traffic control programs.
- TrafficControlException() - Constructor for exception org.opentrafficsim.trafficcontrol.TrafficControlException
- TrafficControlException(String) - Constructor for exception org.opentrafficsim.trafficcontrol.TrafficControlException
- TrafficControlException(String, Throwable) - Constructor for exception org.opentrafficsim.trafficcontrol.TrafficControlException
- TrafficControlException(String, Throwable, boolean, boolean) - Constructor for exception org.opentrafficsim.trafficcontrol.TrafficControlException
- TrafficControlException(Throwable) - Constructor for exception org.opentrafficsim.trafficcontrol.TrafficControlException
- TrafficController - Interface in org.opentrafficsim.trafficcontrol
-
Interface for traffic light controllers.
U
- updateDetector(String, boolean) - Method in interface org.opentrafficsim.trafficcontrol.ActuatedTrafficController
-
Tell the traffic controller that the state of a detector has changed.
- updateDetector(String, boolean) - Method in class org.opentrafficsim.trafficcontrol.ccol.CCOL
-
Tell the traffic controller that the state of a detector has changed.
- updateDetector(String, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Tell the traffic controller that the state of a detector has changed.
All Classes All Packages