Uses of Interface
org.opentrafficsim.road.gtu.tactical.TacticalContext
Packages that use TacticalContext
Package
Description
Interfaces and classes describing perceived objects.
Tactical planners for a lane-based GTU.
Static methods for composition in tactical planners.
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
-
Uses of TacticalContext in org.opentrafficsim.road.gtu.perception.object
Subinterfaces of TacticalContext in org.opentrafficsim.road.gtu.perception.objectModifier and TypeInterfaceDescriptioninterfaceInterface for perceived surrounding GTU's, adding signals, maneuver and behavioral information.Classes in org.opentrafficsim.road.gtu.perception.object that implement TacticalContextModifier and TypeClassDescriptionclassBase class for perceived GTU's which stores the information.classSimple implementation of perceived GTU's which stores the information. -
Uses of TacticalContext in org.opentrafficsim.road.gtu.tactical
Classes in org.opentrafficsim.road.gtu.tactical that implement TacticalContextModifier and TypeClassDescriptionclassWraps aLaneBasedGtuand provides bundled and easy-access information that tactical models and their components need regarding the ego-vehicle. -
Uses of TacticalContext in org.opentrafficsim.road.gtu.tactical.util
Methods in org.opentrafficsim.road.gtu.tactical.util with parameters of type TacticalContextModifier and TypeMethodDescriptionstatic AnticipationInfoAnticipationInfo.anticipateMovementFreeAcceleration(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Duration timeStep) Returns info of the anticipation using free acceleration from car-following model.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.approachTargetSpeed(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed targetSpeed) Returns an acceleration based on the car-following model in order to adjust the speed to a given value at some location ahead.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.constantAccelerationStop(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance) Return constant acceleration in order to stop in specified distance.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.followSingleLeader(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed leaderSpeed) Follow some object.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.followSingleLeader(TacticalContext context, PerceivedObject leader) Follow some object.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.freeAcceleration(TacticalContext context, org.djunits.value.vdouble.scalar.Speed speed) Calculate free acceleration.static org.djunits.value.vdouble.scalar.AccelerationCarFollowingUtil.stop(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance) Stop within given distance.static booleanConflictUtil.stopForGiveWayConflict(TacticalContext context, PerceivedConflict conflict, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, ParameterTypeAcceleration bType, org.djunits.value.vdouble.scalar.Length prevEnd) Approach a give-way conflict.static booleanConflictUtil.stopForStopConflict(TacticalContext context, PerceivedConflict conflict, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, ParameterTypeAcceleration bType, org.djunits.value.vdouble.scalar.Length prevEnd) Approach a stop conflict. -
Uses of TacticalContext in org.opentrafficsim.road.gtu.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.tactical.util.lmrs with parameters of type TacticalContextModifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.AccelerationLmrsUtil.singleAcceleration(TacticalContext context, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed leaderSpeed, double desire) Determine acceleration from car-following with desire-adjusted headway.