public class IDM extends AbstractCarFollowingModel
| Modifier and Type | Field and Description |
|---|---|
static org.opentrafficsim.core.gtu.drivercharacteristics.ParameterTypeDouble |
DELTA
Speed limit adherence factor.
|
| Constructor and Description |
|---|
IDM() |
| Modifier and Type | Method and Description |
|---|---|
org.djunits.value.vdouble.scalar.Length.Rel |
desiredHeadway(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed)
Determines the desired headway.
|
org.djunits.value.vdouble.scalar.Speed |
desiredSpeed(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the desired speed.
|
protected org.djunits.value.vdouble.scalar.Length.Rel |
dynamicDesiredHeadway(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines the dynamic desired headway, which is non-negative.
|
protected org.djunits.value.vdouble.scalar.Length.Rel |
dynamicHeadwayTerm(LaneBasedGTU gtu,
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(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
String |
getLongName()
Return the name complete of the car-following model.
|
String |
getName()
Return the name of the car-following model.
|
computeAcceleration, computeAcceleration, computeAccelerationStep, computeAccelerationStep, computeAccelerationStep, computeAccelerationStep, computeAccelerationStepWithNoLeader, computeAccelerationStepWithNoLeader, computeDualAccelerationStep, computeDualAccelerationStep, followingAcceleration, followingAcceleration, freeAcceleration, getMaximumSafeDeceleration, getStepSize, minimumHeadwaypublic static final org.opentrafficsim.core.gtu.drivercharacteristics.ParameterTypeDouble DELTA
public org.djunits.value.vdouble.scalar.Speed desiredSpeed(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speedLimit, boolean enforcement, org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu - GTU for which the acceleration is calculated.speedLimit - Speed limit, static or dynamic.enforcement - Whether the speed limit is enforced by camera, section control, etc.maximumVehicleSpeed - Maximum speed of the vehicle.org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException - If parameter exception occurs.public org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu - GTU for which the acceleration is calculated.speed - Speed to determine the desired headway at.org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException - If parameter exception occurs.public String getName()
public String getLongName()
protected org.djunits.value.vdouble.scalar.Acceleration followingAcceleration(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway, SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
followingAcceleration in class AbstractCarFollowingModelgtu - GTU for which the acceleration is calculated.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.drivercharacteristics.ParameterException - If parameter exception occurs.protected org.djunits.value.vdouble.scalar.Length.Rel dynamicDesiredHeadway(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway, org.djunits.value.vdouble.scalar.Speed leaderSpeed) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu - GTU for which the dynamic desired headway is calculated.speed - Current speed.desiredHeadway - Desired speed.leaderSpeed - Speed of the leading vehicle.org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException - xprotected org.djunits.value.vdouble.scalar.Length.Rel dynamicHeadwayTerm(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed leaderSpeed) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu - GTU for which the dynamic desired headway term is calculated.speed - Current speed.leaderSpeed - Speed of the leading vehicle.org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException - xCopyright © 2014–2016 Delft University of Technology. All rights reserved.