Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.headway.Headway
Packages that use Headway
Package
Description
Implementation of lane-based perception for the GTU.
Categories define a set of perceivable information.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
Specific operational plan method for road-vehicles operating in a lane-based network.
Classes that deal with lane changing models.
GTU (Car) following models such as IDM+.
Classes that deal with lane changing models.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
Static methods for composition in tactical planners.
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
-
Uses of Headway in org.opentrafficsim.road.gtu.lane.perception
Classes in org.opentrafficsim.road.gtu.lane.perception with type parameters of type HeadwayModifier and TypeClassDescriptionclassAbstractPerceptionIterable<H extends Headway,U, C> Abstract iterable that figures out how to find the next nearest object, including splits.classAbstractPerceptionReiterable<H extends Headway,U> This class uses a single primary iterator which a subclass defines, and makes sure that all elements are only looked up and created once.classFilteredIterable<T extends Headway>Returns only those elements that comply with the predicate.classLaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject> Iterable that searches downstream or upstream for a certain type of lane based object.classMultiLanePerceptionIterable<H extends Headway,U> Iterable class to search over multiple lanes.interfacePerceptionCollectable<H extends Headway,U> Iterable that additionally provides support for PerceptionCollectors.classPerceptionCollectableFiltered<H extends Headway,U> Wraps aPerceptionCollectableand only iterates over all objects that are accepted by a predicate.interfacePerceptionIterable<H extends Headway>Iterable set of elements, sorted close to far.classPerceptionIterableSet<H extends Headway>Simple implementation ofPerceptionIterablewhich wraps a set. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.perception.categories
Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return HeadwayModifier and TypeMethodDescriptionDefaultSimplePerception.getBackwardHeadway()final HeadwayDirectDefaultSimplePerception.getBackwardHeadway()DefaultSimplePerception.getForwardHeadwayGtu()final HeadwayDirectDefaultSimplePerception.getForwardHeadwayGtu()DefaultSimplePerception.getForwardHeadwayObject()final HeadwayDirectDefaultSimplePerception.getForwardHeadwayObject()Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return types with arguments of type HeadwayModifier and TypeMethodDescriptionDefaultSimplePerception.getNeighboringHeadways(LateralDirectionality lateralDirection) final Collection<Headway>DirectDefaultSimplePerception.getNeighboringHeadways(LateralDirectionality lateralDirection) DefaultSimplePerception.getNeighboringHeadwaysLeft()final Collection<Headway>DirectDefaultSimplePerception.getNeighboringHeadwaysLeft()DefaultSimplePerception.getNeighboringHeadwaysRight()final Collection<Headway>DirectDefaultSimplePerception.getNeighboringHeadwaysRight()DefaultSimplePerception.getParallelHeadways(LateralDirectionality lateralDirection) final Collection<Headway>DirectDefaultSimplePerception.getParallelHeadways(LateralDirectionality lateralDirection) DefaultSimplePerception.getParallelHeadwaysLeft()final Collection<Headway>DirectDefaultSimplePerception.getParallelHeadwaysLeft()DefaultSimplePerception.getParallelHeadwaysRight()final Collection<Headway>DirectDefaultSimplePerception.getParallelHeadwaysRight()final org.opentrafficsim.base.TimeStampedObject<Headway>DirectDefaultSimplePerception.getTimeStampedBackwardHeadway()final org.opentrafficsim.base.TimeStampedObject<Headway>DirectDefaultSimplePerception.getTimeStampedForwardHeadwayGtu()final org.opentrafficsim.base.TimeStampedObject<Headway>DirectDefaultSimplePerception.getTimeStampedForwardHeadwayObject()final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedNeighboringHeadways(LateralDirectionality lateralDirection) final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedNeighboringHeadwaysLeft()final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedNeighboringHeadwaysRight()final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedParallelHeadways(LateralDirectionality lateralDirection) final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedParallelHeadwaysLeft()final org.opentrafficsim.base.TimeStampedObject<Collection<Headway>>DirectDefaultSimplePerception.getTimeStampedParallelHeadwaysRight() -
Uses of Headway in org.opentrafficsim.road.gtu.lane.perception.headway
Subinterfaces of Headway in org.opentrafficsim.road.gtu.lane.perception.headwayModifier and TypeInterfaceDescriptioninterfaceInterface for perceived surrounding GTU's.interfaceHeadway of a lane-based object.Classes in org.opentrafficsim.road.gtu.lane.perception.headway that implement HeadwayModifier and TypeClassDescriptionclassSuper class for non-delayed and non-erroneous perception.classContainer for a reference to information about a (lane based) GTU and a headway.classContainer for a reference to information about a (lane based) GTU and a headway.classLane based object headway with constructors for stationary information.classCopyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classCopyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classContainer for a reference to information about a headway with just a distance, without any further information about the object; it assumes a speed of 0 at the headway, so it also good to store information about a lane drop.classCopyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classContainer for a reference to information about a (lane based) GTU and a headway.classContainer for a reference to information about a (lane based) GTU and a headway.classContainer for a reference to information about a (lane based) GTU and a headway.classContainer for a reference to information about a (lane based) GTU and a headway.classContainer for a reference to information about a (lane based) object and a headway.final classCopyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classContainer for a reference to information about a (lane based) traffic light and a headway to the traffic light.Methods in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type Headway -
Uses of Headway in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type HeadwayModifier and TypeMethodDescriptionbooleanLaneChange.checkRoom(LaneBasedGtu gtu, Headway headway) Checks whether the given GTU has sufficient space relative to aHeadway. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
Method parameters in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange with type arguments of type HeadwayModifier and TypeMethodDescriptionfinal DirectedLaneMovementStepAbstractDirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneGTUs, Collection<Headway> otherLaneGTUs, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Duration laneChangeTime) Compute the acceleration and lane change.final DirectedLaneMovementStepDirectedFixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneTraffic, Collection<Headway> otherLaneTraffic, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Duration laneChangeTime) Compute the acceleration and lane change.DirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneTraffic, Collection<Headway> otherLaneTraffic, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Duration laneChangeTime) Compute the acceleration and lane change. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.following
Method parameters in org.opentrafficsim.road.gtu.lane.tactical.following with type arguments of type HeadwayModifier and TypeMethodDescriptionprotected abstract org.djunits.value.vdouble.scalar.AccelerationAbstractIdm.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree, org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Combines an interaction term with the free term.protected final org.djunits.value.vdouble.scalar.AccelerationIdm.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree, org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Combines an interaction term with the free term.protected final org.djunits.value.vdouble.scalar.AccelerationIdmPlus.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree, org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Combines an interaction term with the free term.protected final org.djunits.value.vdouble.scalar.AccelerationIdmPlusMulti.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree, org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Combines an interaction term with the free term.final DualAccelerationStepAbstractGtuFollowingModelMobil.computeDualAccelerationStep(LaneBasedGtu referenceGTU, Collection<Headway> otherGTUs, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present (inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned.
Two AccelerationStep values are returned in a DualAccelerationStep.
or should slow down for a crossing from accelerating to unsafe speeds.final DualAccelerationStepAbstractGtuFollowingModelMobil.computeDualAccelerationStep(LaneBasedGtu referenceGTU, Collection<Headway> otherHeadways, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present (inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned.
Two AccelerationStep values are returned in a DualAccelerationStep.
or should slow down for a crossing from accelerating to unsafe speeds.GtuFollowingModelOld.computeDualAccelerationStep(LaneBasedGtu gtu, Collection<Headway> otherHeadways, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present (inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned.
Two AccelerationStep values are returned in a DualAccelerationStep.
or should slow down for a crossing from accelerating to unsafe speeds.GtuFollowingModelOld.computeDualAccelerationStep(LaneBasedGtu gtu, Collection<Headway> otherHeadways, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present (inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned.
Two AccelerationStep values are returned in a DualAccelerationStep.
or should slow down for a crossing from accelerating to unsafe speeds.protected abstract org.djunits.value.vdouble.scalar.AccelerationAbstractCarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.final org.djunits.value.vdouble.scalar.AccelerationAbstractCarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedLimitInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.protected org.djunits.value.vdouble.scalar.AccelerationAbstractIdm.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.org.djunits.value.vdouble.scalar.AccelerationCarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedLimitInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.final org.djunits.value.vdouble.scalar.AccelerationFixedAccelerationModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.final org.djunits.value.vdouble.scalar.AccelerationIdmOld.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.final org.djunits.value.vdouble.scalar.AccelerationIdmPlusOld.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders.final org.djunits.value.vdouble.scalar.AccelerationSequentialFixedAccelerationModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, SpeedLimitInfo speedInfo, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil
Method parameters in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil with type arguments of type HeadwayModifier and TypeMethodDescriptionfinal LaneMovementStepAbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, Collection<Headway> sameLaneGTUs, Collection<Headway> preferredLaneGTUs, Collection<Headway> nonPreferredLaneGTUs, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive) Compute the acceleration and lane change.final LaneMovementStepFixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, Collection<Headway> sameLaneTraffic, Collection<Headway> rightLaneTraffic, Collection<Headway> leftLaneTraffic, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive) Compute the acceleration and lane change.LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGtu gtu, Collection<Headway> sameLaneTraffic, Collection<Headway> rightLaneTraffic, Collection<Headway> leftLaneTraffic, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive) Compute the acceleration and lane change. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.toledo
Method parameters in org.opentrafficsim.road.gtu.lane.tactical.toledo with type arguments of type HeadwayModifier and TypeMethodDescriptionprotected final org.djunits.value.vdouble.scalar.AccelerationToledoCarFollowing.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) Determination of car-following acceleration, possibly based on multiple leaders. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.util
Classes in org.opentrafficsim.road.gtu.lane.tactical.util that implement HeadwayModifier and TypeClassDescriptionstatic classSimple headway implementation for minimum car-following information. -
Uses of Headway in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type HeadwayModifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.LengthSynchronization.headwayWithLcSpace(Headway headway, org.opentrafficsim.base.parameters.Parameters parameters, LaneChange laneChange) Returns a headway (length) to allow space to perform a lane change at low speeds.