public class IncentiveGetInLane extends Object implements MandatoryIncentive
 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 | 
|---|---|
protected static ParameterTypeDouble | 
SOCIO
Hierarchy parameter. 
 | 
protected static ParameterTypeSpeed | 
VCONG
Congestion speed threshold parameter type. 
 | 
| Constructor and Description | 
|---|
IncentiveGetInLane()  | 
| Modifier and Type | Method and Description | 
|---|---|
Desire | 
determineDesire(Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
String | 
toString() | 
protected static final ParameterTypeSpeed VCONG
protected static final ParameterTypeDouble SOCIO
public Desire determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) throws ParameterException, OperationalPlanException
determineDesire in interface MandatoryIncentiveparameters - Parameters; parametersperception - LanePerception; perceptioncarFollowingModel - CarFollowingModel; car-following modelmandatoryDesire - Desire; level of mandatory desire at current timeParameterException - if a parameter is not given or out of boundsOperationalPlanException - in case of a perception exceptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.