public interface VoluntaryIncentive extends Incentive
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
Desire |
determineDesire(Parameters parameters,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) throws ParameterException, OperationalPlanException
parameters
- parametersperception
- perceptioncarFollowingModel
- car-following modelmandatoryDesire
- level of mandatory desire at current timevoluntaryDesire
- level of voluntary desire at current time, of voluntary incentives calculated beforeParameterException
- if a parameter is not given or out of boundsOperationalPlanException
- in case of a perception exceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.