Skip navigation links
A C D E F G I L M N O P R S T U V 

A

addListener(EventListenerInterface, EventType) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
addListener(EventListenerInterface, EventType, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
addListener(EventListenerInterface, EventType, short) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
addListener(EventListenerInterface, EventType, short, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
addOutput(TrafficLight) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Add a traffic light to this variable.
addTrafCODObject(TrafCODObject) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
Add one TrafCODObject to this TrafCODDisplay.

C

cause - Variable in class org.opentrafficsim.trafficcontrol.trafcod.CausePrinter
Object that describes the cause of the variable change.
CausePrinter - Class in org.opentrafficsim.trafficcontrol.trafcod
Class that can print a text version describing why a variable changed.
CausePrinter(Object) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.CausePrinter
Construct a new CausePrinter object.
clearChangedFlag() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Clear the CHANGED flag of this Variable.
clearFlag(Flags) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Clear one flag.
color - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Output color (if this is an export variable).
COMMENT_PREFIX - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Comment starter in TrafCOD.
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo.TrafCODModel
 
controllerDisplayPanel - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
TrafCOD controller display.
controllerName - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Name of this TrafCod controller.

D

decrementTimer(int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Decrement the value of a timer.
defaultInitialDelay - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
Store the tool tip delay so we can restore it when the mouse exits this TrafCODDisplay.
description() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
DetectorImage - Class in org.opentrafficsim.trafficcontrol.trafcod
Draws a detector.
DetectorImage(TrafCODDisplay, Point2D, String) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.DetectorImage
Construct a new DetectorImage.
detectors - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
The detectors.
draw(Graphics2D) - Method in class org.opentrafficsim.trafficcontrol.trafcod.DetectorImage
Draw yourself at the indicated location/
draw(Graphics2D) - Method in interface org.opentrafficsim.trafficcontrol.trafcod.TrafCODObject
Draw yourself at the indicated location/
draw(Graphics2D) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
Draw yourself at the indicated location/

E

endSource - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Source of end rule.
EVALUATION_INTERVAL - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
The evaluation interval of TrafCOD.

F

Flags - Enum in org.opentrafficsim.trafficcontrol.trafcod
Flags of a TrafCOD variable.
flags - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Flags.

G

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.
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.TrafficLightImage
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.
getSimulator() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo.TrafCODModel
 
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.
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.

I

incrementReferenceCount() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Increment the reference counter of this variable.
initialize() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Initialize this variable if it has the INITED flag set.
isDetector() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Report if this Variable is a detector.
isNegated() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
Was a negation operator ('N') embedded in the name?
isOutput() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Report whether a change in this variable must be published.
isTimer() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Report whether this Variable is a timer.

L

listPos - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Position in the debugging list.

M

main(String[]) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
Main program.
makeAnimationRectangle() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
makeCharts(SimpleSimulatorInterface) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
makeModel(GTUColorer) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
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

name - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Name of this variable (without the traffic stream).
NameAndStream - Class in org.opentrafficsim.trafficcontrol.trafcod
Store a variable name, stream, isTimer, isNegated and number characters consumed information.
NameAndStream(String, String) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
Parse a TrafCOD identifier and extract all required information.
NO_STREAM - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Constant to select variables that have no associated traffic stream.
notify(EventInterface) - Method in class org.opentrafficsim.trafficcontrol.trafcod.DetectorImage
notify(EventInterface) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable

O

org.opentrafficsim.trafficcontrol - package org.opentrafficsim.trafficcontrol
Traffic control for OTS.
org.opentrafficsim.trafficcontrol.trafcod - package org.opentrafficsim.trafficcontrol.trafcod
TrafCOD interpreter.

P

paintComponent(Graphics) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDisplay
 
PrintFlags - Enum in org.opentrafficsim.trafficcontrol.trafcod
Flags for toString method of a Variable.
printRule(Object[], boolean) - Static method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Print a tokenized rule.

R

refCount - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Number of rules that refer to this variable.
removeListener(EventListenerInterface, EventType) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage

S

setEndSource(String) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set the description of the rule that ends this variable.
setFlag(Flags) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set one flag.
setOutput(int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Make this variable an output variable and set the color value.
setStartSource(String) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set the description of the rule that starts this variable.
setTimerMax(int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set the maximum time of this timer.
setTrafficLightColor(TrafficLightColor) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafficLightImage
setValue(int, int, CausePrinter) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
 
shortName() - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
startSource - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Source of start rule.
stream - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Traffic stream number
subscribeToDetector(TrafficLightSensor) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Link a detector variable to a sensor.

T

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.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, String, 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.
TrafCODDemo - Class in org.opentrafficsim.trafficcontrol.trafcod
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
TrafCODDemo() - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo
 
TrafCODDemo.TrafCODModel - Class in org.opentrafficsim.trafficcontrol.trafcod
The simulation model.
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.
TrafCODModel() - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCODDemo.TrafCODModel
 
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 class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Event that is fired whenever a traffic light changes state.
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.

U

updateDetector(String, boolean) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Tell the traffic controller that the state of a detector has changed.
updateDetector(String, boolean) - Method in interface org.opentrafficsim.trafficcontrol.TrafficController
Tell the traffic controller that the state of a detector has changed.
updateTime10 - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Time of last update in tenth of second.

V

value - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
The current value.
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.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.
Variable(String, short) - 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.
A C D E F G I L M N O P R S T U V 
Skip navigation links

Copyright © 2014–2016 Delft University of Technology. All rights reserved.