Uses of Class
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
-
Packages that use 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 void
AbstractGTU. interruptMove()
Interrupt the move and ask for a new plan.protected boolean
AbstractGTU. 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 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.Acceleration
OperationalPlan. getAcceleration(Duration time)
Calculate the acceleration of the GTU after the given duration since the start of the plan.Acceleration
OperationalPlan. getAcceleration(Time time)
Calculate the acceleration of the GTU at the given time.DirectedPoint
OperationalPlan. getLocation(Duration time)
Calculate the location after the given duration since the start of the plan.DirectedPoint
OperationalPlan. getLocation(Time time)
Calculate the location at the given time.DirectedPoint
OperationalPlan. getLocation(Time time, RelativePosition pos)
Calculate the location after the given duration since the start of the plan.Speed
OperationalPlan. getSpeed(Duration time)
Calculate the speed of the GTU after the given duration since the start of the plan.Speed
OperationalPlan. getSpeed(Time time)
Calculate the speed of the GTU at the given time.Length
OperationalPlan. getTraveledDistance(Duration duration)
Calculate the distance traveled as part of this plan after the given duration since the start of the plan.Length
OperationalPlan. getTraveledDistance(Time time)
Calculate the distance traveled as part of this plan at the given absolute time.double
OperationalPlan. getTraveledDistanceSI(Duration duration)
Calculate the distance traveled as part of this plan after the given duration since the start of the plan.double
OperationalPlan. getTraveledDistanceSI(Time time)
Calculate the distance traveled as part of this plan at the given absolute time.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 OperationalPlan
TacticalPlanner. generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)
generate an operational plan, for now or for in the future.
-