Serialized Form
-
Package org.opentrafficsim.trafficcontrol
-
Class org.opentrafficsim.trafficcontrol.AbstractTrafficController extends EventProducer implements Serializable
- serialVersionUID:
- 20190221L
-
Serialized Fields
-
id
java.lang.String id
Id of this controller.
-
-
Class org.opentrafficsim.trafficcontrol.FixedTimeController extends AbstractTrafficController implements Serializable
- serialVersionUID:
- 20190221L
-
Serialized Fields
-
cycleTime
Duration cycleTime
Cycle time. -
offset
Duration offset
Offset. -
signalGroups
java.util.Set<FixedTimeController.SignalGroup> signalGroups
Signal groups, for cloning.
-
-
Class org.opentrafficsim.trafficcontrol.TrafficControlException extends java.lang.Exception implements Serializable
- serialVersionUID:
- 20161116L
-
-
Package org.opentrafficsim.trafficcontrol.ccol
-
Class org.opentrafficsim.trafficcontrol.ccol.CCOL extends EventProducer implements Serializable
- serialVersionUID:
- 20170126L
-
Serialized Fields
-
acceptThread
java.lang.Thread acceptThread
Thread that blocks until accept returns. -
ccolReader
java.io.BufferedReader ccolReader
Receives data from the CCOL process. -
ccolWriter
java.io.PrintWriter ccolWriter
Sends data to the CCOL process. -
clientSocket
java.net.Socket clientSocket
Socket for communication with the CCOL controller. -
id
java.lang.String id
Name of this CCOL traffic controller. -
serverSocket
java.net.ServerSocket serverSocket
Socket used to listen for the incoming connection from the CCOL controller. -
simulator
DEVSSimulator<Time,Duration,SimTimeDoubleUnit> simulator
The simulator.
-
-
-
Package org.opentrafficsim.trafficcontrol.trafcod
-
Class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD extends AbstractTrafficController implements Serializable
- serialVersionUID:
- 20161014L
-
Serialized Fields
-
conflictGroups
java.util.List<java.util.List<java.lang.Short>> conflictGroups
The conflict groups in order that they will be served. -
conflictGroupSize
int conflictGroupSize
Sequence information; size of conflict group. -
currentConflictGroup
java.lang.String currentConflictGroup
Space-separated list of the traffic streams in the currently active conflict group. -
currentRule
java.lang.Object[] currentRule
Rule that is currently being evaluated. -
currentTime10
int currentTime10
The current time in units of 0.1 s. -
currentToken
int currentToken
Position in current expression. -
detectors
java.util.Map<java.lang.String,org.opentrafficsim.trafficcontrol.trafcod.Variable> detectors
The detectors. -
displayBackground
java.awt.image.BufferedImage displayBackground
Background image for state display. -
displayContainer
java.awt.Container displayContainer
Container for controller state display. -
displayObjectLocations
java.util.List<java.lang.String> displayObjectLocations
Objects to draw on top of display background. -
maxLoopCount
int maxLoopCount
Maximum number of evaluation loops. -
numberOfConflictGroups
int numberOfConflictGroups
Number of conflict groups in the control program. -
simulator
OTSSimulatorInterface simulator
The simulation engine. -
stack
java.util.List<java.lang.Integer> stack
The expression evaluation stack. -
stateDisplay
TrafCODDisplay stateDisplay
Animation of the current state of this TrafCOD controller. -
structureNumber
int structureNumber
Chosen structure number (as assigned by VRIGen). -
tokenisedRules
java.util.List<java.lang.Object[]> tokenisedRules
The tokenized rules. -
trafCODRules
java.util.List<java.lang.String> trafCODRules
The unparsed TrafCOD rules (needed for cloning). -
variables
java.util.Map<java.lang.String,org.opentrafficsim.trafficcontrol.trafcod.Variable> variables
The TrafCOD variables. -
variablesInDefinitionOrder
java.util.List<org.opentrafficsim.trafficcontrol.trafcod.Variable> variablesInDefinitionOrder
The TrafCOD variables in order of definition.
-
-
Class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay extends javax.swing.JPanel implements Serializable
- serialVersionUID:
- 20161115L
-
Serialized Fields
-
defaultInitialDelay
int defaultInitialDelay
Store the tool tip delay so we can restore it when the mouse exits this TrafCODDisplay. -
image
java.awt.image.BufferedImage image
Background image. -
trafCODObjects
java.util.Set<org.opentrafficsim.trafficcontrol.trafcod.TrafCODObject> trafCODObjects
The set of objects drawn on the image.
-
-