Uses of Interface
org.opentrafficsim.core.gtu.GTU
-
Packages that use GTU 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. -
-
Uses of GTU in org.opentrafficsim.core.gtu
Subinterfaces of GTU in org.opentrafficsim.core.gtu Modifier and Type Interface Description interface
SpaceBasedGTU
GTU that can travel in 2D or 3D space.Classes in org.opentrafficsim.core.gtu that implement GTU Modifier and Type Class 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-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.Methods in org.opentrafficsim.core.gtu that return GTU Modifier and Type Method Description GTU
AbstractGTU. getParent()
Returns the parent GTU, ornull
if this GTU has no parent.GTU
GTU. getParent()
Returns the parent GTU, ornull
if this GTU has no parent.Methods in org.opentrafficsim.core.gtu that return types with arguments of type GTU Modifier and Type Method Description Set<GTU>
AbstractGTU. getChildren()
Returns the children GTU's.Set<GTU>
GTU. getChildren()
Returns the children GTU's.Methods in org.opentrafficsim.core.gtu with parameters of type GTU Modifier and Type Method 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. -
Uses of GTU in org.opentrafficsim.core.gtu.perception
Classes in org.opentrafficsim.core.gtu.perception with type parameters of type GTU Modifier and Type Class Description class
AbstractPerception<G extends GTU>
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.class
AbstractPerceptionCategory<G extends GTU,P extends Perception<G>>
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.class
DirectEgoPerception<G extends GTU,P extends Perception<G>>
Copyright (c) 2013-2022 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. -
Uses of GTU in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational with parameters of type GTU Modifier and Type Method 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 maximumAcceleration, Acceleration maximumDeceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the providedendTime
.static OperationalPlan
OperationalPlanBuilder. buildMaximumAccelerationPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration maximumAcceleration, Acceleration maximumDeceleration)
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.Constructors in org.opentrafficsim.core.gtu.plan.operational with parameters of type GTU Constructor Description OperationalPlan(GTU gtu, 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. -
Uses of GTU in org.opentrafficsim.core.gtu.plan.strategical
Methods in org.opentrafficsim.core.gtu.plan.strategical that return GTU Modifier and Type Method Description GTU
StrategicalPlanner. getGtu()
Returns the GTU.Methods in org.opentrafficsim.core.gtu.plan.strategical with parameters of type GTU Modifier and Type Method Description T
StrategicalPlannerFactory. create(GTU gtu)
Creates a new strategical planner for the given GTU. -
Uses of GTU in org.opentrafficsim.core.gtu.plan.tactical
Classes in org.opentrafficsim.core.gtu.plan.tactical with type parameters of type GTU Modifier and Type Interface 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.Methods in org.opentrafficsim.core.gtu.plan.tactical with parameters of type GTU Modifier and Type Method Description T
TacticalPlannerFactory. create(GTU gtu)
Creates a new tactical planner for the given GTU. -
Uses of GTU in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return GTU Modifier and Type Method Description GTU
OTSNetwork. getGTU(String gtuId)
Get a GTU in the model.Methods in org.opentrafficsim.core.network that return types with arguments of type GTU Modifier and Type Method 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.(package private) Map<String,GTU>
OTSNetwork. getRawGtuMap()
Methods in org.opentrafficsim.core.network with parameters of type GTU Modifier and Type Method 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. -
Uses of GTU in org.opentrafficsim.core.perception
Methods in org.opentrafficsim.core.perception that return GTU Modifier and Type Method Description GTU
PerceivableContext. getGTU(String gtuId)
Get a GTU in the model.Methods in org.opentrafficsim.core.perception that return types with arguments of type GTU Modifier and Type Method Description Set<GTU>
PerceivableContext. getGTUs()
Get an overview of the GTUs in the model.Methods in org.opentrafficsim.core.perception with parameters of type GTU Modifier and Type Method 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.
-