- getBounds() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getColor() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Retrieve the color for an output Variable.
- getCommand() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.RouteStep
-
Retrieve the command.
- getDirection() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getEndSource() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Describe the rule that ends this variable.
- getFlags() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Return a safe copy of the flags.
- getGeometry() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getHeight() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getId() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the Id of the traffic light controller.
- getId() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getId() - Method in interface org.opentrafficsim.trafficcontrol.TrafficController
-
Retrieve the Id of the traffic light controller.
- getLane() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getLocation() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getLongitudinalPosition() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getName() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
-
Retrieve the name.
- getName() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Retrieve the name of this variable.
- getNumberOfChars() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
-
Retrieve the number of characters consumed from the input.
- getSimulator() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the simulator.
- getStartSource() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Describe the rule that starts this variable.
- getStream() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
-
Retrieve the stream number.
- getStream() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Retrieve the stream to which this variable belongs.
- getStreamCondition() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.RouteStep
-
Retrieve the stream condition.
- getStructureNumber() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Retrieve the structure number.
- getTimerMax() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Retrieve the start value of this timer in units of 0.1 seconds (1 second is represented by the value 10).
- getTrafficLightColor() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
- getValue() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Retrieve the current value of this Variable.
- getX() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.RouteStep
-
Retrieve the X object.
- getX() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.XYPair
-
Retrieve the X value.
- getY() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.RouteStep
-
Retrieve the Y object.
- getY() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.XYPair
-
Retrieve the Y value.
- testPanel - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.Diagram
-
JPanel used to render the intersection for testing.
- timerMax10 - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Limit value (if this is a timer variable).
- tokenisedRules - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
The tokenized rules.
- toolTipHit(int, int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.DetectorImage
-
Check if the given coordinates hit the TrafCODObject.
- toolTipHit(int, int) - Method in interface org.opentrafficsim.trafficcontrol.trafcod.TrafCODObject
-
Check if the given coordinates hit the TrafCODObject.
- toolTipHit(int, int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
-
Check if the given coordinates hit the TrafCODObject.
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.CausePrinter
-
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.RouteStep
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Diagram.XYPair
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
- toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
- toString(EnumSet<PrintFlags>) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Convert selected fields to a String.
- 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, Set<TrafficLight>, Set<TrafficLightSensor>, DEVSSimulator<Time, Duration, OTSSimTimeDouble>, Container) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Construct a new TrafCOD traffic light controller.
- TrafCOD.ParserState - Enum in org.opentrafficsim.trafficcontrol.trafcod
-
States of the rule parser.
- TrafCOD.Token - Enum in org.opentrafficsim.trafficcontrol.trafcod
-
Types of TrafCOD tokens.
- TRAFCOD_VERSION - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
Version of the supported TrafCOD files.
- 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.
- TrafCODObject - Interface in org.opentrafficsim.trafficcontrol.trafcod
-
Interface for objects that can draw themselves onto a Graphics2D and may want to show their own tool tip text when the mouse
hits them.
- trafcodRules - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
The original rules.
- 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(Throwable) - 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
-
- TrafficController - Interface in org.opentrafficsim.trafficcontrol
-
Interface for traffic light controllers.
- TrafficLightImage - Class in org.opentrafficsim.trafficcontrol.trafcod
-
Draws a traffic light.
- TrafficLightImage(TrafCODDisplay, Point2D, String) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
-
Create a traffic light image.
- value - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
The current value.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Diagram.Command
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Diagram.LaneType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Flags
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.PrintFlags
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.ParserState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.Token
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Diagram.Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Diagram.LaneType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.Flags
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.PrintFlags
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.ParserState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.Token
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Variable - Class in org.opentrafficsim.trafficcontrol.trafcod
-
A TrafCOD variable, timer, or detector.
- Variable(String, short, TrafCOD) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.Variable
-
Construct a new Variable.
- variables - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
The TrafCOD variables.
- variablesInDefinitionOrder - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
-
The TrafCOD variables in order of definition.