public interface CarFollowingModel
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 | Method and Description |
---|---|
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.
|
org.djunits.value.vdouble.scalar.Acceleration |
followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> 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.
|
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 occursorg.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 occursorg.djunits.value.vdouble.scalar.Acceleration followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedLimitInfo, SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders) throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
behavioralCharacteristics
- behavioral characteristicsspeed
- current speedspeedLimitInfo
- info regarding the desired speed for car-followingleaders
- set of leader headways and speeds, ordered by headway (closest first)org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- if parameter exception occursString getName()
String getLongName()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.