Serialized Form
-
Package org.opentrafficsim.trafficcontrol
-
Class org.opentrafficsim.trafficcontrol.AbstractTrafficController
class AbstractTrafficController extends org.djutils.event.LocalEventProducer implements Serializable- serialVersionUID:
- 20190221L
-
Serialized Fields
-
id
String id
Id of this controller.
-
-
Class org.opentrafficsim.trafficcontrol.FixedTimeController
class FixedTimeController extends AbstractTrafficController implements Serializable- serialVersionUID:
- 20190221L
-
Serialized Fields
-
cycleTime
org.djunits.value.vdouble.scalar.Duration cycleTime
Cycle time. -
offset
org.djunits.value.vdouble.scalar.Duration offset
Offset. -
signalGroups
Set<FixedTimeController.SignalGroup> signalGroups
Signal groups, for cloning.
-
-
Exception org.opentrafficsim.trafficcontrol.TrafficControlException
class TrafficControlException extends Exception implements Serializable- serialVersionUID:
- 20161116L
-
-
Package org.opentrafficsim.trafficcontrol.ccol
-
Class org.opentrafficsim.trafficcontrol.ccol.Ccol
class Ccol extends org.djutils.event.LocalEventProducer implements Serializable- serialVersionUID:
- 20170126L
-
Serialized Fields
-
acceptThread
Thread acceptThread
Thread that blocks until accept returns. -
ccolReader
BufferedReader ccolReader
Receives data from the CCOL process. -
ccolWriter
PrintWriter ccolWriter
Sends data to the CCOL process. -
clientSocket
Socket clientSocket
Socket for communication with the CCOL controller. -
id
String id
Name of this CCOL traffic controller. -
serverSocket
ServerSocket serverSocket
Socket used to listen for the incoming connection from the CCOL controller. -
simulator
org.opentrafficsim.core.dsol.OtsSimulator simulator
The simulator.
-
-
-
Package org.opentrafficsim.trafficcontrol.trafcod
-
Class org.opentrafficsim.trafficcontrol.trafcod.TrafCod
class TrafCod extends AbstractTrafficController implements Serializable- serialVersionUID:
- 20161014L
-
Serialized Fields
-
conflictGroups
List<List<Short>> conflictGroups
The conflict groups in order that they will be served. -
conflictGroupSize
int conflictGroupSize
Sequence information; size of conflict group. -
currentConflictGroup
String currentConflictGroup
Space-separated list of the traffic streams in the currently active conflict group. -
currentRule
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
Map<String,
Variable> detectors The detectors. -
displayBackground
BufferedImage displayBackground
Background image for state display. -
displayContainer
Container displayContainer
Container for controller state display. -
displayObjectLocations
List<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
org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator
The simulation engine. -
stack
List<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
List<Object[]> tokenisedRules
The tokenized rules. -
trafCODRules
List<String> trafCODRules
The unparsed TrafCOD rules (needed for cloning). -
variables
Map<String,
Variable> variables The TrafCOD variables. -
variablesInDefinitionOrder
List<Variable> variablesInDefinitionOrder
The TrafCOD variables in order of definition.
-
-
Class org.opentrafficsim.trafficcontrol.trafcod.TrafCodDisplay
class TrafCodDisplay extends 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
BufferedImage image
Background image. -
trafCODObjects
Set<TrafCODObject> trafCODObjects
The set of objects drawn on the image.
-
-