Class AccelerationTrafficLights
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.lmrs.AccelerationTrafficLights
- All Implemented Interfaces:
- AccelerationIncentive
 Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidaccelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final StringtoString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentrafficsim.road.gtu.lane.tactical.lmrs.AccelerationIncentiveonRoute
- 
Constructor Details- 
AccelerationTrafficLightspublic AccelerationTrafficLights()
 
- 
- 
Method Details- 
acceleratepublic final void accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) throws org.opentrafficsim.base.parameters.ParameterException, OperationalPlanException Determine acceleration.- Specified by:
- acceleratein interface- AccelerationIncentive
- Parameters:
- simplePlan- SimpleOperationalPlan; simple plan to set the acceleration
- lane- RelativeLane; lane on which to consider the acceleration
- mergeDistance- Length; distance over which a lane change is impossible
- gtu- LaneBasedGtu; gtu
- perception- LanePerception; perception
- carFollowingModel- CarFollowingModel; car-following model
- speed- Speed; current speed
- params- Parameters; parameters
- speedLimitInfo- SpeedLimitInfo; speed limit info
- Throws:
- org.opentrafficsim.base.parameters.ParameterException- on missing parameter
- OperationalPlanException- in case of an error
 
- 
toString
 
-