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
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.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Nov 25, 2015
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationalPlan
generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)
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 Detail
-
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 Detail
-
generateOperationalPlan
public final OperationalPlan generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime) throws OperationalPlanException, NetworkException, GTUException, ParameterException
-
-