Interface DesiredSpeedModel

All Known Subinterfaces:
CarFollowingModel, GtuFollowingModelOld
All Known Implementing Classes:
AbstractCarFollowingModel, AbstractGtuFollowingModelMobil, AbstractIdm, FixedAccelerationModel, Idm, IdmOld, IdmPlus, IdmPlusMulti, IdmPlusOld, SequentialFixedAccelerationModel, SocioDesiredSpeed, ToledoCarFollowing

public interface DesiredSpeedModel
Desired speed model.

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
  • Method Summary

    Modifier and Type
    Method
    Description
    org.djunits.value.vdouble.scalar.Speed
    desiredSpeed(org.opentrafficsim.base.parameters.Parameters parameters, SpeedLimitInfo speedInfo)
    Determines the desired speed.
  • Method Details

    • desiredSpeed

      org.djunits.value.vdouble.scalar.Speed desiredSpeed(org.opentrafficsim.base.parameters.Parameters parameters, SpeedLimitInfo speedInfo) throws org.opentrafficsim.base.parameters.ParameterException
      Determines the desired speed.
      Parameters:
      parameters - Parameters; parameters
      speedInfo - SpeedLimitInfo; info regarding the desired speed for car-following
      Returns:
      desired speed
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - if parameter exception occurs