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-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Jul 7, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Field Summary
Fields Modifier and Type Field Description static org.opentrafficsim.base.parameters.ParameterTypeSpeed
ALPHADS
static org.opentrafficsim.base.parameters.ParameterTypeDouble
BETAACC
static org.opentrafficsim.base.parameters.ParameterTypeSpeed
BETADS
static org.opentrafficsim.base.parameters.ParameterTypeDouble
CCFACC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
CCFDEC
static org.opentrafficsim.base.parameters.ParameterTypeSpeed
CDS
static org.opentrafficsim.base.parameters.ParameterTypeDouble
GAMMAACC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
GAMMADEC
static org.opentrafficsim.base.parameters.ParameterTypeDuration
HSTAR
static org.opentrafficsim.base.parameters.ParameterTypeDouble
LAMBDAACC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
LAMBDADEC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
LAMBDAFF
static org.opentrafficsim.base.parameters.ParameterTypeDouble
RHOACC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
RHODEC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
SIGMAACC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
SIGMADEC
static org.opentrafficsim.base.parameters.ParameterTypeDouble
SIGMAFF
-
Fields inherited from interface org.opentrafficsim.road.gtu.lane.tactical.following.CarFollowingModel
CAR_FOLLOWING_MODEL
-
-
Constructor Summary
Constructors Constructor Description ToledoCarFollowing()
Constructor using Toledo models for desired headway ans speed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Acceleration
followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, Speed speed, Speed desiredSpeed, Length desiredHeadway, PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.String
getLongName()
Return the complete name of the car-following model.String
getName()
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
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
followingAcceleration
protected final Acceleration followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, Speed speed, Speed desiredSpeed, 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 classAbstractCarFollowingModel
- Parameters:
parameters
- Parameters; parametersspeed
- Speed; current speeddesiredSpeed
- Speed; desired speeddesiredHeadway
- Length; desired headwayleaders
- 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
-
-