public abstract class AbstractIncentivesTacticalPlanner 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<AccelerationIncentive> |
ACCELERATION
Parameter type for acceleration incentives.
|
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 |
---|
AbstractIncentivesTacticalPlanner(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAccelerationIncentive(AccelerationIncentive incentive)
Adds an acceleration incentive.
|
void |
addMandatoryIncentive(MandatoryIncentive incentive)
Adds a mandatory incentive.
|
void |
addVoluntaryIncentive(VoluntaryIncentive incentive)
Adds a voluntary incentive.
|
ImmutableSet<AccelerationIncentive> |
getAccelerationIncentives()
Returns the acceleration incentives.
|
ImmutableSet<MandatoryIncentive> |
getMandatoryIncentives()
Returns the mandatory incentives.
|
ImmutableSet<VoluntaryIncentive> |
getVoluntaryIncentives()
Returns the voluntary incentives.
|
void |
setDefaultIncentives()
Sets the default lane change incentives.
|
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chooseLaneAtSplit, mostOnSide, okDistance
generateOperationalPlan
public static final ParameterTypeClassList<MandatoryIncentive> MANDATORY
public static final ParameterTypeClassList<VoluntaryIncentive> VOLUNTARY
public static final ParameterTypeClassList<AccelerationIncentive> ACCELERATION
public AbstractIncentivesTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception)
carFollowingModel
- CarFollowingModel; Car-following model.gtu
- LaneBasedGTU; GTUlanePerception
- LanePerception; perceptionpublic 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 void addAccelerationIncentive(AccelerationIncentive incentive)
null
.incentive
- AccelerationIncentive; Incentive to add.public final void setDefaultIncentives()
public final ImmutableSet<MandatoryIncentive> getMandatoryIncentives()
public final ImmutableSet<VoluntaryIncentive> getVoluntaryIncentives()
public final ImmutableSet<AccelerationIncentive> getAccelerationIncentives()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.