Uses of Interface
org.opentrafficsim.core.gtu.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 interfaceSpaceBasedGTUGTU that can travel in 2D or 3D space.Classes in org.opentrafficsim.core.gtu that implement GTU Modifier and Type Class Description classAbstractGTUImplements the basic functionalities of any GTU: the ability to move on 3D-space according to a plan.classAbstractLinkBasedGTUCopyright (c) 2013-2020 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 GTUAbstractGTU. getParent()Returns the parent GTU, ornullif this GTU has no parent.GTUGTU. getParent()Returns the parent GTU, ornullif 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 voidAbstractGTU. addGtu(GTU gtu)Adds the provided GTU to this GTU, meaning it moves with this GTU.voidGTU. addGtu(GTU gtu)Adds the provided GTU to this GTU, meaning it moves with this GTU.voidGTUErrorHandler. handle(GTU gtu, Exception ex)Handle exception.voidAbstractGTU. removeGtu(GTU gtu)Removes the provided GTU from this GTU, meaning it no longer moves with this GTU.voidGTU. removeGtu(GTU gtu)Removes the provided GTU from this GTU, meaning it no longer moves with this GTU.voidAbstractGTU. setParent(GTU gtu)Set the parent GTU.voidGTU. 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 classAbstractPerception<G extends GTU>Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classAbstractPerceptionCategory<G extends GTU,P extends Perception<G>>Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classDirectEgoPerception<G extends GTU,P extends Perception<G>>Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.interfaceEgoPerception<G extends GTU,P extends Perception<G>>Ego perception interface.interfacePerception<G extends GTU>The perception module of a GTU.interfacePerceptionCategory<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 OperationalPlanOperationalPlanBuilder. buildConstantSpeedPlan(GTU gtu, OTSLine3D path, Time startTime, Speed speed)Build a plan with a path and a given speed.static OperationalPlanOperationalPlanBuilder. 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 OperationalPlanOperationalPlanBuilder. 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 OperationalPlanOperationalPlanBuilder. 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 OperationalPlanOperationalPlanBuilder. 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 GTUStrategicalPlanner. getGtu()Returns the GTU.Methods in org.opentrafficsim.core.gtu.plan.strategical with parameters of type GTU Modifier and Type Method Description TStrategicalPlannerFactory. 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 interfaceTacticalPlanner<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 TTacticalPlannerFactory. 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 GTUOTSNetwork. 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.Methods in org.opentrafficsim.core.network with parameters of type GTU Modifier and Type Method Description voidLink. addGTU(GTU gtu)Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).voidOTSLink. addGTU(GTU gtu)Add a GTU to this link (e.g., for statistical purposes, or for a model on macro level).voidOTSNetwork. addGTU(GTU gtu)Add a GTU to the network.booleanOTSNetwork. containsGTU(GTU gtu)Test whether a GTU is registered in the network.voidLink. removeGTU(GTU gtu)Remove a GTU from this link.voidOTSLink. removeGTU(GTU gtu)Remove a GTU from this link.voidOTSNetwork. 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 GTUPerceivableContext. 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 voidPerceivableContext. addGTU(GTU gtu)Add a GTU to the network.booleanPerceivableContext. containsGTU(GTU gtu)Test whether a GTU is registered in the network.voidPerceivableContext. removeGTU(GTU gtu)Remove a GTU from the network.