Class ToledoCarFollowing

java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractCarFollowingModel
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoCarFollowing
All Implemented Interfaces:
CarFollowingModel, DesiredHeadwayModel, DesiredSpeedModel, Initialisable

public class ToledoCarFollowing extends AbstractCarFollowingModel

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

    Fields
    Modifier and Type
    Field
    Description
    static final org.opentrafficsim.base.parameters.ParameterTypeSpeed
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeSpeed
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeSpeed
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDuration
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
     

    Fields inherited from interface org.opentrafficsim.road.gtu.lane.tactical.following.CarFollowingModel

    CAR_FOLLOWING_MODEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor using Toledo models for desired headway ans speed.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final org.djunits.value.vdouble.scalar.Acceleration
    followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders)
    Determination of car-following acceleration, possibly based on multiple leaders.
    final String
    Return the complete name of the car-following model.
    final String
    Return the name of the car-following model.

    Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.following.AbstractCarFollowingModel

    desiredHeadway, desiredSpeed, followingAcceleration, init, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • CDS

      public static final org.opentrafficsim.base.parameters.ParameterTypeSpeed CDS
    • BETADS

      public static final org.opentrafficsim.base.parameters.ParameterTypeSpeed BETADS
    • ALPHADS

      public static final org.opentrafficsim.base.parameters.ParameterTypeSpeed ALPHADS
    • HSTAR

      public static final org.opentrafficsim.base.parameters.ParameterTypeDuration HSTAR
    • LAMBDAFF

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble LAMBDAFF
    • SIGMAFF

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SIGMAFF
    • CCFACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble CCFACC
    • BETAACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble BETAACC
    • GAMMAACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble GAMMAACC
    • RHOACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble RHOACC
    • LAMBDAACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble LAMBDAACC
    • SIGMAACC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SIGMAACC
    • CCFDEC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble CCFDEC
    • GAMMADEC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble GAMMADEC
    • RHODEC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble RHODEC
    • LAMBDADEC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble LAMBDADEC
    • SIGMADEC

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SIGMADEC
  • Constructor Details

    • ToledoCarFollowing

      public ToledoCarFollowing()
      Constructor using Toledo models for desired headway ans speed.
  • Method Details

    • followingAcceleration

      protected final org.djunits.value.vdouble.scalar.Acceleration followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) throws org.opentrafficsim.base.parameters.ParameterException
      Determination of car-following acceleration, possibly based on multiple leaders.
      Specified by:
      followingAcceleration in class AbstractCarFollowingModel
      Parameters:
      parameters - Parameters; parameters
      speed - Speed; current speed
      desiredSpeed - Speed; desired speed
      desiredHeadway - Length; desired headway
      leaders - PerceptionIterable<? extends Headway>; set of leader headways (guaranteed positive) and speeds, ordered by headway (closest first)
      Returns:
      car-following acceleration
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - if parameter exception occurs
    • getName

      public final String getName()
      Return the name of the car-following model.
      Returns:
      name of the car-following model
    • getLongName

      public final String getLongName()
      Return the complete name of the car-following model.
      Returns:
      complete name of the car-following model