Class AccelerationBusStop

java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.lmrs.AccelerationBusStop
All Implemented Interfaces:
AccelerationIncentive

public class AccelerationBusStop extends Object implements 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 Details

    • AccelerationBusStop

      public AccelerationBusStop()
  • Method Details

    • accelerate

      public 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, GtuException
      Description copied from interface: AccelerationIncentive
      Determine acceleration.
      Specified by:
      accelerate in interface AccelerationIncentive
      Parameters:
      simplePlan - simple plan to set the acceleration
      lane - lane on which to consider the acceleration
      mergeDistance - distance over which a lane change is impossible
      gtu - gtu
      perception - perception
      carFollowingModel - car-following model
      speed - current speed
      params - parameters
      speedLimitInfo - speed limit info
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - on missing parameter
      GtuException - when there is a problem with the state of the GTU when planning a path
    • toString

      public final String toString()
      Overrides:
      toString in class Object