| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.animation |
GTU animations.
|
| 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.operational |
Operational plans describe a path through the world with a speed profile that a GTU intends to follow.
|
| org.opentrafficsim.core.gtu.plan.strategical |
Strategical planners.
|
| org.opentrafficsim.core.gtu.plan.tactical |
Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.perception |
The perception package takes care of registering perceivable objects that are used in an OTS study.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpaceBasedGTU
GTU that can travel in 2D or 3D space.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGTU
Implements the basic functionalities of any GTU: the ability to move on 3D-space according to a plan.
|
class |
AbstractLinkBasedGTU
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
SwitchableGTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
Color |
SpeedGTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
Color |
IDGTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
Color |
GTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
Color |
AccelerationGTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
Perception.getGtu()
Return the GTU of this perception.
|
GTU |
AbstractPerceptionCategory.getGtu()
Returns the connected GTU.
|
GTU |
AbstractPerception.getGtu()
Return the GTU of this perception.
|
| Constructor and Description |
|---|
AbstractPerception(GTU gtu)
Construct perception.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationalPlan |
OperationalPlanBuilder.buildConstantSpeedPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed speed)
Build a plan with a path and a given speed.
|
static OperationalPlan |
OperationalPlanBuilder.buildGradualAccelerationPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed)
Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.
|
static OperationalPlan |
OperationalPlanBuilder.buildGradualAccelerationPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration maxAcceleration,
org.djunits.value.vdouble.scalar.Acceleration maxDeceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.
|
static OperationalPlan |
OperationalPlanBuilder.buildMaximumAccelerationPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static OperationalPlan |
OperationalPlanBuilder.buildStopPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.
|
| Constructor and Description |
|---|
OperationalPlan(GTU gtu,
DirectedPoint waitPoint,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration duration)
Build a plan where the GTU will wait for a certain time.
|
OperationalPlan(GTU gtu,
OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<OperationalPlan.Segment> operationalPlanSegmentList)
Construct an operational plan.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
StrategicalPlanner.getGtu()
Returns the GTU.
|
| Modifier and Type | Method and Description |
|---|---|
T |
StrategicalPlannerFactory.create(GTU gtu)
Creates a new strategical planner for the given GTU.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
TacticalPlanner.getGtu()
Returns the GTU.
|
| Modifier and Type | Method and Description |
|---|---|
T |
TacticalPlannerFactory.create(GTU gtu)
Creates a new tactical planner for the given GTU.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
OTSNetwork.getGTU(String gtuId)
Get a GTU in the model.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GTU> |
OTSNetwork.getGTUs()
Get an overview of the GTUs in the model.
|
Set<GTU> |
OTSLink.getGTUs()
Provide a safe copy of the set of GTUs.
|
Set<GTU> |
Link.getGTUs()
Provide a safe copy of the set of GTUs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addGTU(GTU gtu)
Add a GTU to the network.
|
void |
OTSLink.addGTU(GTU gtu)
Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).
|
void |
Link.addGTU(GTU gtu)
Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).
|
boolean |
OTSNetwork.containsGTU(GTU gtu)
Test whether a GTU is registered in the network.
|
void |
OTSNetwork.removeGTU(GTU gtu)
Remove a GTU from the network.
|
void |
OTSLink.removeGTU(GTU gtu)
Remove a GTU from this link.
|
void |
Link.removeGTU(GTU gtu)
Remove a GTU from this link.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
PerceivableContext.getGTU(String gtuId)
Get a GTU in the model.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GTU> |
PerceivableContext.getGTUs()
Get an overview of the GTUs in the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PerceivableContext.addGTU(GTU gtu)
Add a GTU to the network.
|
boolean |
PerceivableContext.containsGTU(GTU gtu)
Test whether a GTU is registered in the network.
|
void |
PerceivableContext.removeGTU(GTU gtu)
Remove a GTU from the network.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.