public class ToledoCarFollowing extends AbstractCarFollowingModel
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static ParameterTypeSpeed |
ALPHADS |
static ParameterTypeDouble |
BETAACC |
static ParameterTypeSpeed |
BETADS |
static ParameterTypeDouble |
CCFACC |
static ParameterTypeDouble |
CCFDEC |
static ParameterTypeSpeed |
CDS |
static ParameterTypeDouble |
GAMMAACC |
static ParameterTypeDouble |
GAMMADEC |
static ParameterTypeDuration |
HSTAR |
static ParameterTypeDouble |
LAMBDAACC |
static ParameterTypeDouble |
LAMBDADEC |
static ParameterTypeDouble |
LAMBDAFF |
static ParameterTypeDouble |
RHOACC |
static ParameterTypeDouble |
RHODEC |
static ParameterTypeDouble |
SIGMAACC |
static ParameterTypeDouble |
SIGMADEC |
static ParameterTypeDouble |
SIGMAFF |
CAR_FOLLOWING_MODEL
Constructor and Description |
---|
ToledoCarFollowing()
Constructor using Toledo models for desired headway ans speed.
|
Modifier and Type | Method and Description |
---|---|
protected Acceleration |
followingAcceleration(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.
|
desiredHeadway, desiredSpeed, followingAcceleration, init, toString
public static final ParameterTypeSpeed CDS
public static final ParameterTypeSpeed BETADS
public static final ParameterTypeSpeed ALPHADS
public static final ParameterTypeDuration HSTAR
public static final ParameterTypeDouble LAMBDAFF
public static final ParameterTypeDouble SIGMAFF
public static final ParameterTypeDouble CCFACC
public static final ParameterTypeDouble BETAACC
public static final ParameterTypeDouble GAMMAACC
public static final ParameterTypeDouble RHOACC
public static final ParameterTypeDouble LAMBDAACC
public static final ParameterTypeDouble SIGMAACC
public static final ParameterTypeDouble CCFDEC
public static final ParameterTypeDouble GAMMADEC
public static final ParameterTypeDouble RHODEC
public static final ParameterTypeDouble LAMBDADEC
public static final ParameterTypeDouble SIGMADEC
public ToledoCarFollowing()
protected final Acceleration followingAcceleration(Parameters parameters, Speed speed, Speed desiredSpeed, Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) throws ParameterException
followingAcceleration
in class AbstractCarFollowingModel
parameters
- parametersspeed
- current speeddesiredSpeed
- desired speeddesiredHeadway
- desired headwayleaders
- set of leader headways (guaranteed positive) and speeds, ordered by headway (closest first)ParameterException
- if parameter exception occurspublic final String getName()
public final String getLongName()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.