Class LaneBasedGtuFollowingTacticalPlanner
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGtuFollowingTacticalPlanner
- All Implemented Interfaces:
Serializable
,TacticalPlanner<LaneBasedGtu,
,LanePerception> LaneBasedTacticalPlanner
Lane-based tactical planner that implements car following behavior. This tactical planner retrieves the car following model
from the strategical planner and will generate an operational plan for the GTU.
This lane-based tactical planner makes decisions based on headway (GTU following model). It can ask the strategic planner for assistance on the route to take when the network splits.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Field Summary
Fields inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
DT, LOOKAHEAD, TACTICAL_PLANNER
-
Constructor Summary
ConstructorDescriptionLaneBasedGtuFollowingTacticalPlanner
(GtuFollowingModelOld carFollowingModel, LaneBasedGtu gtu) Instantiate a tactical planner with just GTU following behavior and no lane changes. -
Method Summary
Modifier and TypeMethodDescriptionfinal OperationalPlan
generateOperationalPlan
(org.djunits.value.vdouble.scalar.Time startTime, org.djutils.draw.point.OrientedPoint2d locationAtStartTime) final String
toString()
Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.road.gtu.lane.tactical.LaneBasedTacticalPlanner
chooseLaneAtSplit, okDistance
-
Constructor Details
-
LaneBasedGtuFollowingTacticalPlanner
public LaneBasedGtuFollowingTacticalPlanner(GtuFollowingModelOld carFollowingModel, LaneBasedGtu gtu) Instantiate a tactical planner with just GTU following behavior and no lane changes.- Parameters:
carFollowingModel
- GtuFollowingModelOld; Car-following model.gtu
- LaneBasedGtu; GTU
-
-
Method Details
-
generateOperationalPlan
public final OperationalPlan generateOperationalPlan(org.djunits.value.vdouble.scalar.Time startTime, org.djutils.draw.point.OrientedPoint2d locationAtStartTime) throws OperationalPlanException, NetworkException, GtuException, org.opentrafficsim.base.parameters.ParameterException - Throws:
OperationalPlanException
NetworkException
GtuException
org.opentrafficsim.base.parameters.ParameterException
-
toString
-