public class AccelerationSpeedLimitTransition 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.
Constructor and Description |
---|
AccelerationSpeedLimitTransition() |
Modifier and Type | Method and Description |
---|---|
void |
accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
Length mergeDistance,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
onRoute
public final void accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) throws OperationalPlanException, ParameterException
accelerate
in interface AccelerationIncentive
simplePlan
- SimpleOperationalPlan; simple plan to set the accelerationlane
- RelativeLane; lane on which to consider the accelerationmergeDistance
- Length; distance over which a lane change is impossiblegtu
- LaneBasedGTU; gtuperception
- LanePerception; perceptioncarFollowingModel
- CarFollowingModel; car-following modelspeed
- Speed; current speedparams
- Parameters; parametersspeedLimitInfo
- SpeedLimitInfo; speed limit infoOperationalPlanException
- in case of an errorParameterException
- on missing parameterCopyright © 2014–2019 Delft University of Technology. All rights reserved.