public class AccelerationSpeedLimitTransition extends Object implements AccelerationIncentive
Copyright (c) 2013-2017 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,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
String |
toString() |
public void accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc, SpeedLimitInfo speedLimitInfo) throws org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException, org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
accelerate
in interface AccelerationIncentive
simplePlan
- simple plan to set the accelerationlane
- lane on which to consider the accelerationgtu
- gtuperception
- perceptioncarFollowingModel
- car-following modelspeed
- current speedbc
- behavioral characteristicsspeedLimitInfo
- speed limit infoorg.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
- in case of an errororg.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- on missing parameterCopyright © 2014–2017 Delft University of Technology. All rights reserved.