public interface CarFollowingModel
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.
|
org.djunits.value.vdouble.scalar.Acceleration |
followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
freeAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the acceleration if there is no reason to decelerate.
|
String |
getLongName()
Return the name complete of the car-following model.
|
String |
getName()
Return the name of the car-following model.
|
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.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.org.djunits.value.vdouble.scalar.Acceleration freeAcceleration(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, 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.speed
- Current speed.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.org.djunits.value.vdouble.scalar.Acceleration followingAcceleration(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed speedLimit, boolean enforcement, org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed, org.djunits.value.vdouble.scalar.Length.Rel headway, org.djunits.value.vdouble.scalar.Speed leaderSpeed) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu
- GTU for which the acceleration is calculated.speed
- Current speed.speedLimit
- Speed limit, static or dynamic.enforcement
- Whether the speed limit is enforced by camera, section control, etc.maximumVehicleSpeed
- Maximum speed of the vehicle.headway
- Net headway towards the leading vehicle.leaderSpeed
- Speed of the leading vehicle.org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
- If parameter exception occurs.org.djunits.value.vdouble.scalar.Acceleration followingAcceleration(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed speedLimit, boolean enforcement, org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed, SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders) throws org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
gtu
- GTU for which the acceleration is calculated.speed
- Current speed.speedLimit
- Speed limit, static or dynamic.enforcement
- Whether the speed limit is enforced by camera, section control, etc.maximumVehicleSpeed
- Maximum speed of the vehicle.leaders
- Set of leader headways and speeds, ordered by headway (closest first).org.opentrafficsim.core.gtu.drivercharacteristics.ParameterException
- If parameter exception occurs.String getName()
String getLongName()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.