public class AccelerationTrafficLights extends Object implements AccelerationIncentive
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
AccelerationTrafficLights() |
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.
|
String |
toString() |
public final void accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) throws ParameterException, OperationalPlanException
accelerate
in interface AccelerationIncentive
simplePlan
- simple plan to set the accelerationlane
- lane on which to consider the accelerationgtu
- gtuperception
- perceptioncarFollowingModel
- car-following modelspeed
- current speedparams
- parametersspeedLimitInfo
- speed limit infoParameterException
- on missing parameterOperationalPlanException
- in case of an errorCopyright © 2014–2018 Delft University of Technology. All rights reserved.