public class LaneBasedGTUFollowingLaneChangeTacticalPlanner extends AbstractLaneBasedTacticalPlanner
A lane change occurs when:
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-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
LaneBasedGTUFollowingLaneChangeTacticalPlanner()
Instantiated a tactical planner with just GTU following behavior and no lane changes.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) AccelerationStep |
calculateAcceleratonStep(LaneBasedGTU laneBasedGTU,
LanePerception perception,
HeadwayGTU headwayGTU,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance)
Calculate the AccelerationStep given a GTUFollowing model for a given headway.
|
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan |
generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
DirectedPoint locationAtStartTime) |
buildLaneListForward, buildLaneListForward, buildLinkListForward, connectsToPath, determineNextSplit, getReferenceLanepublic LaneBasedGTUFollowingLaneChangeTacticalPlanner()
public org.opentrafficsim.core.gtu.plan.operational.OperationalPlan generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
DirectedPoint locationAtStartTime)
throws org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException,
org.opentrafficsim.core.network.NetworkException,
org.opentrafficsim.core.gtu.GTUException
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanExceptionorg.opentrafficsim.core.network.NetworkExceptionorg.opentrafficsim.core.gtu.GTUExceptionAccelerationStep calculateAcceleratonStep(LaneBasedGTU laneBasedGTU, LanePerception perception, HeadwayGTU headwayGTU, org.djunits.value.vdouble.scalar.Length.Rel maxDistance) throws org.opentrafficsim.core.gtu.GTUException
laneBasedGTU - the GTU to calculate the acceleration step forperception - the perception of the GTUheadwayGTU - the headway and GTU that is our predecessormaxDistance - the maximum distance to drive, e.g. due to a lane droporg.opentrafficsim.core.gtu.GTUException - when the velocity of the GTU cannot be determinedCopyright © 2014–2016 Delft University of Technology. All rights reserved.