Uses of Record Class
org.opentrafficsim.road.gtu.lane.tactical.util.AnticipationInfo
Package
Description
Static methods for composition in tactical planners.
-
Uses of AnticipationInfo in org.opentrafficsim.road.gtu.lane.tactical.util
Modifier and TypeMethodDescriptionstatic AnticipationInfo
AnticipationInfo.anticipateMovement
(org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed initialSpeed, org.djunits.value.vdouble.scalar.Acceleration acceleration) Returns info of the anticipation assuming constant acceleration.static AnticipationInfo
AnticipationInfo.anticipateMovementFreeAcceleration
(org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed initialSpeed, org.opentrafficsim.base.parameters.Parameters parameters, CarFollowingModel carFollowingModel, SpeedLimitInfo speedLimitInfo, org.djunits.value.vdouble.scalar.Duration timeStep) Returns info of the anticipation using free acceleration from car-following model.static AnticipationInfo
AnticipationInfo.anticipateMovementSpeedLimited
(org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed initialSpeed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Speed maxSpeed) Returns info of the anticipation assuming constant acceleration, without exceeding maximum speed.