public class IncentiveSpeedWithCourtesy extends Object implements VoluntaryIncentive
Constructor and Description |
---|
IncentiveSpeedWithCourtesy() |
Modifier and Type | Method and Description |
---|---|
Desire |
determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
public Desire determineDesire(LaneBasedGTU gtu, LanePerception perception, Desire mandatory)
determineDesire
in interface VoluntaryIncentive
gtu
- GTU to determine the lane change desire for.perception
- Perception which supplies the situation.mandatory
- Level of total mandatory desire, may be used to ignore or reduce a voluntary incentive.Copyright © 2014–2016 Delft University of Technology. All rights reserved.