Class CaccTacticalPlanner
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
-
- org.opentrafficsim.road.gtu.lane.tactical.cacc.CaccTacticalPlanner
-
- All Implemented Interfaces:
Serializable,TacticalPlanner<LaneBasedGTU,LanePerception>,LaneBasedTacticalPlanner
public class CaccTacticalPlanner extends AbstractLaneBasedTacticalPlanner
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 27 sep. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterTypeAccelerationA_REDUCEDSynchronization by platoon leader.static ParameterTypeDurationDTFixed model time step.protected static ParameterTypeLengthLOOKAHEADLook ahead parameter type.static ParameterTypeDurationT_GAP...static ParameterTypeDurationT0Look-ahead time for mandatory lane changes parameter type.-
Fields inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
TACTICAL_PLANNER
-
-
Constructor Summary
Constructors Constructor Description CaccTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, CaccController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationalPlangenerateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)Generate operational plan.voidsetPlatoon(Platoon platoon)Sets the platoon.-
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, toString, wait, wait, wait
-
Methods inherited from interface org.opentrafficsim.road.gtu.lane.tactical.LaneBasedTacticalPlanner
chooseLaneAtSplit, okDistance
-
-
-
-
Field Detail
-
LOOKAHEAD
protected static final ParameterTypeLength LOOKAHEAD
Look ahead parameter type.
-
T_GAP
public static final ParameterTypeDuration T_GAP
...
-
T0
public static final ParameterTypeDuration T0
Look-ahead time for mandatory lane changes parameter type.
-
DT
public static final ParameterTypeDuration DT
Fixed model time step.
-
A_REDUCED
public static final ParameterTypeAcceleration A_REDUCED
Synchronization by platoon leader.
-
-
Constructor Detail
-
CaccTacticalPlanner
public CaccTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, CaccController controller)
- Parameters:
carFollowingModel- XXX:gtu- XXX:lanePerception- XXX:controller- XXX:
-
-
Method Detail
-
setPlatoon
public void setPlatoon(Platoon platoon)
Sets the platoon.- Parameters:
platoon- Platoon; platoon
-
generateOperationalPlan
public OperationalPlan generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime) throws OperationalPlanException, GTUException, NetworkException, ParameterException
Generate operational plan.
-
-