Uses of Class
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
| 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.tactical |
Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.
|
-
Uses of OperationalPlanException in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that throw OperationalPlanException Modifier and Type Method Description protected voidAbstractGTU. interruptMove()Interrupt the move and ask for a new plan.protected booleanAbstractGTU. move(DirectedPoint fromLocation)Move from the current location according to an operational plan to a location that will bring us nearer to reaching the location provided by the strategical planner. -
Uses of OperationalPlanException in org.opentrafficsim.core.gtu.perception
Methods in org.opentrafficsim.core.gtu.perception that throw OperationalPlanException Modifier and Type Method Description <T extends PerceptionCategory<?, ?>>
TAbstractPerception. getPerceptionCategory(Class<T> category)Returns the given perception category.<T extends PerceptionCategory<?, ?>>
TPerception. getPerceptionCategory(Class<T> category)Returns the given perception category. -
Uses of OperationalPlanException in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational that throw OperationalPlanException 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.AccelerationOperationalPlan. getAcceleration(Duration time)Calculate the acceleration of the GTU after the given duration since the start of the plan.AccelerationOperationalPlan. getAcceleration(Time time)Calculate the acceleration of the GTU at the given time.DirectedPointOperationalPlan. getLocation(Duration time)Calculate the location after the given duration since the start of the plan.DirectedPointOperationalPlan. getLocation(Time time)Calculate the location at the given time.DirectedPointOperationalPlan. getLocation(Time time, RelativePosition pos)Calculate the location after the given duration since the start of the plan.SpeedOperationalPlan. getSpeed(Duration time)Calculate the speed of the GTU after the given duration since the start of the plan.SpeedOperationalPlan. getSpeed(Time time)Calculate the speed of the GTU at the given time.LengthOperationalPlan. getTraveledDistance(Duration duration)Calculate the distance traveled as part of this plan after the given duration since the start of the plan.LengthOperationalPlan. getTraveledDistance(Time time)Calculate the distance traveled as part of this plan at the given absolute time.doubleOperationalPlan. getTraveledDistanceSI(Duration duration)Calculate the distance traveled as part of this plan after the given duration since the start of the plan.doubleOperationalPlan. getTraveledDistanceSI(Time time)Calculate the distance traveled as part of this plan at the given absolute time.static voidOperationalPlanBuilder. main(String[] args)Test.Constructors in org.opentrafficsim.core.gtu.plan.operational that throw OperationalPlanException 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 OperationalPlanException in org.opentrafficsim.core.gtu.plan.tactical
Methods in org.opentrafficsim.core.gtu.plan.tactical that throw OperationalPlanException Modifier and Type Method Description OperationalPlanTacticalPlanner. generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)generate an operational plan, for now or for in the future.