public class SteeringLmrs extends AbstractLaneBasedTacticalPlanner
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static ParameterTypeClassList<MandatoryIncentive> |
MANDATORY
Parameter type for mandatory lane change incentives.
|
static ParameterTypeClassList<VoluntaryIncentive> |
VOLUNTARY
Parameter type for voluntary lane change incentives.
|
DT, LOOKAHEAD, TACTICAL_PLANNER
Constructor and Description |
---|
SteeringLmrs(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization,
Cooperation cooperation,
GapAcceptance gapAcceptance,
Steering.FeedbackTable feedbackTable)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
void |
addMandatoryIncentive(MandatoryIncentive incentive)
Adds a mandatory incentive.
|
void |
addVoluntaryIncentive(VoluntaryIncentive incentive)
Adds a voluntary incentive.
|
OperationalPlan |
generateOperationalPlan(Time startTime,
DirectedPoint locationAtStartTime) |
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chooseLaneAtSplit, okDistance, rightMost
public static final ParameterTypeClassList<MandatoryIncentive> MANDATORY
public static final ParameterTypeClassList<VoluntaryIncentive> VOLUNTARY
public SteeringLmrs(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Steering.FeedbackTable feedbackTable)
carFollowingModel
- CarFollowingModel; Car-following model.gtu
- LaneBasedGTU; GTUlanePerception
- LanePerception; perceptionsynchronization
- Synchronization; type of synchronizationcooperation
- Cooperation; type of cooperationgapAcceptance
- GapAcceptance; gap-acceptancefeedbackTable
- FeedbackTable; feedback tablepublic final void addMandatoryIncentive(MandatoryIncentive incentive)
null
.incentive
- MandatoryIncentive; Incentive to add.public final void addVoluntaryIncentive(VoluntaryIncentive incentive)
null
.incentive
- VoluntaryIncentive; Incentive to add.public final OperationalPlan generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime) throws OperationalPlanException, GTUException, NetworkException, ParameterException
Copyright © 2014–2019 Delft University of Technology. All rights reserved.