public abstract class AbstractIDM extends AbstractCarFollowingModel
Copyright (c) 2013-2017 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 org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DELTA
Speed limit adherence factor.
|
Constructor and Description |
---|
AbstractIDM() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.djunits.value.vdouble.scalar.Acceleration |
combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Combines an interaction term with the free term.
|
org.djunits.value.vdouble.scalar.Length |
desiredHeadway(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed)
Determines the desired headway in equilibrium conditions, i.e.
|
org.djunits.value.vdouble.scalar.Speed |
desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
protected org.djunits.value.vdouble.scalar.Length |
dynamicDesiredHeadway(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Length desiredHeadway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines the dynamic desired headway, which is non-negative.
|
protected org.djunits.value.vdouble.scalar.Length |
dynamicHeadwayTerm(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines the dynamic headway term.
|
protected org.djunits.value.vdouble.scalar.Acceleration |
followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
followingAcceleration, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLongName, getName
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DELTA
public final org.djunits.value.vdouble.scalar.Speed desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, SpeedLimitInfo speedInfo) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
behavioralCharacteristics
- behavioral characteristicsspeedInfo
- info regarding the desired speed for car-followingorg.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- if parameter exception occurspublic final org.djunits.value.vdouble.scalar.Length desiredHeadway(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
behavioralCharacteristics
- behavioral characteristicsspeed
- speed to determine the desired headway atorg.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- if parameter exception occursprotected org.djunits.value.vdouble.scalar.Acceleration followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
followingAcceleration
in class AbstractCarFollowingModel
behavioralCharacteristics
- Behavioral characteristics.speed
- Current speed.desiredSpeed
- Desired speed.desiredHeadway
- Desired headway.leaders
- Set of leader headways (guaranteed positive) and speeds, ordered by headway (closest first).org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- If parameter exception occurs.protected abstract org.djunits.value.vdouble.scalar.Acceleration combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree, org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
aFree
- Free term of acceleration.behavioralCharacteristics
- Behavioral characteristics.speed
- Current speed.desiredSpeed
- Desired speed.desiredHeadway
- Desired headway.leaders
- Set of leader headways (guaranteed positive) and speeds, ordered by headway (closest first).org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- In case of parameter exception.protected final org.djunits.value.vdouble.scalar.Length dynamicDesiredHeadway(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Length desiredHeadway, org.djunits.value.vdouble.scalar.Speed leaderSpeed) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
behavioralCharacteristics
- Behavioral characteristics.speed
- Current speed.desiredHeadway
- Desired headway.leaderSpeed
- Speed of the leading vehicle.org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- In case of parameter exception.protected final org.djunits.value.vdouble.scalar.Length dynamicHeadwayTerm(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed leaderSpeed) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
behavioralCharacteristics
- Behavioral characteristics.speed
- Current speed.leaderSpeed
- Speed of the leading vehicle.org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- In case of parameter exception.Copyright © 2014–2017 Delft University of Technology. All rights reserved.