public class AccelerationNoRightOvertake extends Object implements AccelerationIncentive
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 |
---|---|
static ParameterTypeAcceleration |
B0
Maximum adjustment deceleration, e.g.
|
static ParameterTypeSpeed |
VCONG
Speed threshold below which traffic is considered congested.
|
Constructor and Description |
---|
AccelerationNoRightOvertake() |
Modifier and Type | Method and Description |
---|---|
void |
accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
public static final ParameterTypeSpeed VCONG
public static final ParameterTypeAcceleration B0
public void accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) throws OperationalPlanException, ParameterException, GTUException
accelerate
in interface AccelerationIncentive
simplePlan
- SimpleOperationalPlan; simple plan to set the accelerationlane
- RelativeLane; lane on which to consider the accelerationgtu
- LaneBasedGTU; gtuperception
- LanePerception; perceptioncarFollowingModel
- CarFollowingModel; car-following modelspeed
- Speed; current speedparams
- Parameters; parametersspeedLimitInfo
- SpeedLimitInfo; speed limit infoOperationalPlanException
- in case of an errorParameterException
- on missing parameterGTUException
- when there is a problem with the state of the GTU when planning a pathCopyright © 2014–2019 Delft University of Technology. All rights reserved.