public class LaneBasedGTUFollowingChange0TacticalPlanner 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 |
---|
LaneBasedGTUFollowingChange0TacticalPlanner()
Instantiated a tactical planner with just GTU following behavior and no lane changes.
|
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan |
generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) |
boolean |
isDestroyGtuOnFailure() |
void |
setDestroyGtuOnFailure(boolean destroyGtuOnFailure)
When a failure in planning occurs, should we destroy the GTU to avoid halting of the model?
|
buildLaneListForwardXXX, buildLanePathInfo, buildLanePathInfo, buildLanePathInfo, buildLinkListForward, connectsToPath, determineNextSplit, getReferenceLane, noLaneDrop
public LaneBasedGTUFollowingChange0TacticalPlanner()
public org.opentrafficsim.core.gtu.plan.operational.OperationalPlan generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu, org.djunits.value.vdouble.scalar.Time.Abs startTime, nl.tudelft.simulation.language.d3.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.OperationalPlanException
org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.gtu.GTUException
public final boolean isDestroyGtuOnFailure()
public final void setDestroyGtuOnFailure(boolean destroyGtuOnFailure)
destroyGtuOnFailure
- set destroyGtuOnFailure to true or falseCopyright © 2014–2016 Delft University of Technology. All rights reserved.