| Package | Description |
|---|---|
| org.opentrafficsim.core.distributions |
Generic implementation of a set of objects with defined probabilities / frequencies.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.behavioralcharacteristics |
List of behavioral characteristics in the form of parameters.
|
| org.opentrafficsim.core.gtu.perception |
The perception module of a GTU is responsible for perceiving (sensing) the environment of the GTU, which includes the
locations of other GTUs.
|
| org.opentrafficsim.core.gtu.plan.tactical |
Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.
|
| Modifier and Type | Method and Description |
|---|---|
O |
Generator.draw()
Generate the next object.
|
| Modifier and Type | Method and Description |
|---|---|
GTUCharacteristics |
TemplateGTUType.draw()
Generate the next object.
|
protected void |
AbstractGTU.interruptMove()
Interrupt the move and ask for a new plan.
|
protected void |
AbstractGTU.move(DirectedPoint fromLocation)
Move from the current location according to an operational plan to a location that will bring us nearer to reaching the
location provided by the strategical planner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterTypeDouble.check(double value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
void |
ParameterTypeInteger.check(int value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
void |
ParameterType.check(T value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
protected void |
AbstractParameterType.checkCheck(T value)
Checks the default checks given with the parameter type.
|
Integer |
ParameterTypeInteger.getDefaultValue()
Returns the default value.
|
Double |
ParameterTypeDouble.getDefaultValue()
Returns the default value.
|
Boolean |
ParameterTypeBoolean.getDefaultValue()
Returns the default value.
|
T |
ParameterType.getDefaultValue()
Returns the default value.
|
abstract Object |
AbstractParameterType.getDefaultValue()
Returns the default value.
|
<U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.DoubleScalar.Rel<U>> |
BehavioralCharacteristics.getParameter(ParameterType<U,T> parameterType)
Get parameter of given type.
|
boolean |
BehavioralCharacteristics.getParameter(ParameterTypeBoolean parameterType)
Get parameter of given type.
|
double |
BehavioralCharacteristics.getParameter(ParameterTypeDouble parameterType)
Get parameter of given type.
|
int |
BehavioralCharacteristics.getParameter(ParameterTypeInteger parameterType)
Get parameter of given type.
|
String |
ParameterTypeInteger.printValue(BehavioralCharacteristics behavioralCharacteristics)
Print the given value from the map in BehavioralCharachteristics in a presentable format.
|
String |
ParameterTypeDouble.printValue(BehavioralCharacteristics behavioralCharacteristics)
Print the given value from the map in BehavioralCharachteristics in a presentable format.
|
String |
ParameterTypeBoolean.printValue(BehavioralCharacteristics behavioralCharacteristics)
Print the given value from the map in BehavioralCharachteristics in a presentable format.
|
String |
ParameterType.printValue(BehavioralCharacteristics behavioralCharacteristics)
Print the given value from the map in BehavioralCharachteristics in a presentable format.
|
abstract String |
AbstractParameterType.printValue(BehavioralCharacteristics behavioralCharacteristics)
Print the given value from the map in BehavioralCharachteristics in a presentable format.
|
void |
BehavioralCharacteristics.resetParameter(AbstractParameterType<?,?> parameterType)
Resets the parameter value to the value from before the last set.
|
<U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.DoubleScalar.Rel<U>> |
BehavioralCharacteristics.setParameter(ParameterType<U,T> parameterType,
T value)
Set parameter value of given parameter type.
|
void |
BehavioralCharacteristics.setParameter(ParameterTypeDouble parameterType,
double value)
Set parameter value of given parameter type.
|
void |
BehavioralCharacteristics.setParameter(ParameterTypeInteger parameterType,
int value)
Set parameter value of given parameter type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Perception.perceive()
Update the perceived information and store it in a stateful manner.
|
| Modifier and Type | Method and Description |
|---|---|
OperationalPlan |
TacticalPlanner.generateOperationalPlan(GTU gtu,
org.djunits.value.vdouble.scalar.Time startTime,
DirectedPoint locationAtStartTime)
generate an operational plan, for now or for in the future.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.