| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| 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-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
AbstractGTU.getParent()
Returns the parent GTU, or
null if this GTU has no parent. |
GTU |
GTU.getParent()
Returns the parent GTU, or
null if this GTU has no parent. |
| Modifier and Type | Method and Description |
|---|---|
Set<GTU> |
AbstractGTU.getChildren()
Returns the children GTU's.
|
Set<GTU> |
GTU.getChildren()
Returns the children GTU's.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractGTU.addGtu(GTU gtu)
Adds the provided GTU to this GTU, meaning it moves with this GTU.
|
void |
GTU.addGtu(GTU gtu)
Adds the provided GTU to this GTU, meaning it moves with this GTU.
|
void |
GTUErrorHandler.handle(GTU gtu,
Exception ex)
Handle exception.
|
void |
AbstractGTU.removeGtu(GTU gtu)
Removes the provided GTU from this GTU, meaning it no longer moves with this GTU.
|
void |
GTU.removeGtu(GTU gtu)
Removes the provided GTU from this GTU, meaning it no longer moves with this GTU.
|
void |
AbstractGTU.setParent(GTU gtu)
Set the parent GTU.
|
void |
GTU.setParent(GTU gtu)
Set the parent GTU.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPerception<G extends GTU>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
AbstractPerceptionCategory<G extends GTU,P extends Perception<G>>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
DirectEgoPerception<G extends GTU,P extends Perception<G>>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
interface |
EgoPerception<G extends GTU,P extends Perception<G>>
Ego perception interface.
|
interface |
Perception<G extends GTU>
The perception module of a GTU.
|
interface |
PerceptionCategory<G extends GTU,P extends Perception<G>>
Super interface for all perception categories.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationalPlan |
OperationalPlanBuilder.buildConstantSpeedPlan(GTU gtu,
OTSLine3D path,
Time startTime,
Speed speed)
Build a plan with a path and a given speed.
|
static OperationalPlan |
OperationalPlanBuilder.buildGradualAccelerationPlan(GTU gtu,
OTSLine3D path,
Time startTime,
Speed startSpeed,
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,
Time startTime,
Speed startSpeed,
Speed endSpeed,
Acceleration maxAcceleration,
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,
Time startTime,
Speed startSpeed,
Speed endSpeed,
Acceleration acceleration,
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,
Time startTime,
Speed startSpeed,
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,
nl.tudelft.simulation.language.d3.DirectedPoint waitPoint,
Time startTime,
Duration duration)
Build a plan where the GTU will wait for a certain time.
|
OperationalPlan(GTU gtu,
OTSLine3D path,
Time startTime,
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 | Interface and Description |
|---|---|
interface |
TacticalPlanner<G extends GTU,P extends Perception<G>>
Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.
|
| 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> |
Link.getGTUs()
Provide a safe copy of the set of GTUs.
|
Set<GTU> |
OTSLink.getGTUs()
Provide a safe copy of the set of GTUs.
|
Set<GTU> |
OTSNetwork.getGTUs()
Get an overview of the GTUs in the model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Link.addGTU(GTU gtu)
Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).
|
void |
OTSLink.addGTU(GTU gtu)
Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).
|
void |
OTSNetwork.addGTU(GTU gtu)
Add a GTU to the network.
|
boolean |
OTSNetwork.containsGTU(GTU gtu)
Test whether a GTU is registered in the network.
|
void |
Link.removeGTU(GTU gtu)
Remove a GTU from this link.
|
void |
OTSLink.removeGTU(GTU gtu)
Remove a GTU from this link.
|
void |
OTSNetwork.removeGTU(GTU gtu)
Remove a GTU from the network.
|
| 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–2019 Delft University of Technology. All rights reserved.