| 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.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-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
VelocityGTUColorer.getColor(GTU gtu)
Return the fill color for a GTU.
|
Color |
SwitchableGTUColorer.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 |
|---|---|
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 |
|---|---|
TacticalPlanner |
StrategicalPlanner.generateTacticalPlanner(GTU gtu)
Generate a new tactical planner for the GTU.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GTU> |
OTSNetwork.getGTUs()
Get an overview of the GTUs in the model.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
OTSNetwork.removeGTU(GTU gtu)
Remove a GTU from the network.
|
| 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–2016 Delft University of Technology. All rights reserved.