Class LaneBasedGTUFollowingTacticalPlanner
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlanner
- All Implemented Interfaces:
java.io.Serializable,TacticalPlanner<LaneBasedGTU,LanePerception>,LaneBasedTacticalPlanner
public class LaneBasedGTUFollowingTacticalPlanner extends AbstractLaneBasedTacticalPlanner
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-2020 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:
- Serialized Form
-
Field Summary
Fields inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
DT, LOOKAHEAD, TACTICAL_PLANNER -
Constructor Summary
Constructors Constructor Description LaneBasedGTUFollowingTacticalPlanner(GTUFollowingModelOld carFollowingModel, LaneBasedGTU gtu)Instantiate a tactical planner with just GTU following behavior and no lane changes. -
Method Summary
Modifier and Type Method Description OperationalPlangenerateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)java.lang.StringtoString()Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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(Time startTime, DirectedPoint locationAtStartTime) throws OperationalPlanException, NetworkException, GTUException, ParameterException -
toString
public final java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-