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

A

addFlag(Flags) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set a flag of this Variable.

C

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_START - Static variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Comment starter in TrafCOD.
controllerName - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Name of this TrafCod controller.

D

detectors - Variable in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
The detectors.

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

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.
getName() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
Retrieve the name.
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.
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).
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.
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.TrafCOD
Test code

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 and isTimer status.
NameAndStream(String, String) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
Parse a name and stream.

O

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

P

PrintFlags - Enum in org.opentrafficsim.trafficcontrol.trafcod
Flags for toString method of a Variable.

R

refCount - Variable in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Number of rules that refer to this variable.

S

selectedFieldsToString(EnumSet<PrintFlags>) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Print selected fields.
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, Set<TrafficLight>) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Make this variable an output variable and set the output value.
setStartSource(String) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set the description of the rule that starts this variable.
setStructureNumber(int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
Set the structure number.
setTimerMax(int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
Set the maximum time of this timer.
setValue(int, int) - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
 
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

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 tokenised rules.
toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.NameAndStream
toString() - Method in class org.opentrafficsim.trafficcontrol.trafcod.Variable
TrafCOD - Class in org.opentrafficsim.trafficcontrol.trafcod
TrafCOD evaluator.
TrafCOD(String, String, Set<TrafficLight>, Set<Sensor>, DEVSSimulator<Time, Duration, OTSSimTimeDouble>) - Constructor for class org.opentrafficsim.trafficcontrol.trafcod.TrafCOD
 
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.
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.
TrafficController - Interface in org.opentrafficsim.trafficcontrol
Interface for traffic light controllers.

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
Storage for 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.
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.