public class IncentiveSpeed extends Object implements VoluntaryIncentive
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
IncentiveSpeed() |
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.
|
String |
toString() |
public final 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.