public class IncentiveSocioSpeed extends Object implements VoluntaryIncentive
SocioDesiredSpeedModel
.
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 ParameterTypeLength |
LOOKAHEAD
Look-ahead distance.
|
protected static ParameterTypeDouble |
RHO
Social pressure applied to the leader.
|
protected static ParameterTypeDouble |
SOCIO
Hierarchy parameter.
|
protected static ParameterTypeSpeed |
VCONG
Speed threshold below which traffic is considered congested.
|
protected static ParameterTypeSpeed |
VGAIN
Vgain parameter; ego-speed sensitivity.
|
Constructor and Description |
---|
IncentiveSocioSpeed() |
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.
|
String |
toString() |
protected static final ParameterTypeDouble RHO
protected static final ParameterTypeDouble SOCIO
protected static final ParameterTypeSpeed VCONG
protected static final ParameterTypeSpeed VGAIN
protected static final ParameterTypeLength LOOKAHEAD
public final Desire determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) throws ParameterException, OperationalPlanException
determineDesire
in interface VoluntaryIncentive
parameters
- Parameters; parametersperception
- LanePerception; perceptioncarFollowingModel
- CarFollowingModel; car-following modelmandatoryDesire
- Desire; level of mandatory desire at current timevoluntaryDesire
- Desire; 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–2019 Delft University of Technology. All rights reserved.