Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.headway.GtuHeadway
-
Packages that use GtuHeadway Package Description org.opentrafficsim.road.gtu.generator Generate GTUs according to some prescription.org.opentrafficsim.road.gtu.lane.control Classes about vehicle control, including ACC and CACC.org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU.org.opentrafficsim.road.gtu.lane.perception.categories.neighbors Contains perception categories to perceive neighbors.org.opentrafficsim.road.gtu.lane.perception.headway Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.road.gtu.lane.tactical.util Static methods for composition in tactical planners.org.opentrafficsim.road.gtu.lane.tactical.util.lmrs LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.org.opentrafficsim.road.network.lane.conflict Contains classes describing intersection conflicts. -
-
Uses of GtuHeadway in org.opentrafficsim.road.gtu.generator
Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type GtuHeadway Modifier and Type Method Description LaneBasedGTUGenerator.PlacementCFRoomChecker. canPlace(SortedSet<GtuHeadway> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementLaneBasedGTUGenerator.RoomChecker. canPlace(SortedSet<GtuHeadway> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementTTCRoomChecker. canPlace(SortedSet<GtuHeadway> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.control
Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type GtuHeadway Modifier and Type Method Description abstract AccelerationAbstractActuatedControl. getDesiredAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.AccelerationAbstractLinearFreeControl. getDesiredAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.abstract AccelerationAbstractLinearFreeControl. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearCACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegCACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception that return GtuHeadway Modifier and Type Method Description GtuHeadwayDownstreamNeighborsIterable. perceive(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu object, Length distance)Returns a perceived version of the underlying object.GtuHeadwayUpstreamNeighborsIterable. perceive(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu object, Length distance)Returns a perceived version of the underlying object. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return GtuHeadway Modifier and Type Method Description GtuHeadwayDefaultCaccSensors. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.default GtuHeadwayGtuHeadwayType. createHeadwayGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createHeadwayGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.GtuHeadwayDefaultCaccSensors. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayGtuHeadwayType. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayDefaultCaccSensors. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return types with arguments of type GtuHeadway Modifier and Type Method Description SortedSet<GtuHeadway>DirectNeighborsPerception. getFirstFollowers(LateralDirectionality lat)Set of followers on a lane, which is usually 0 or 1, but possibly more in case of an upstream merge with no intermediate GTU.SortedSet<GtuHeadway>NeighborsPerception. getFirstFollowers(LateralDirectionality lat)Set of followers on a lane, which is usually 0 or 1, but possibly more in case of an upstream merge with no intermediate GTU.SortedSet<GtuHeadway>DirectNeighborsPerception. getFirstLeaders(LateralDirectionality lat)Set of leaders on a lane, which is usually 0 or 1, but possibly more in case of a downstream split with no intermediate GTU.SortedSet<GtuHeadway>NeighborsPerception. getFirstLeaders(LateralDirectionality lat)Set of leaders on a lane, which is usually 0 or 1, but possibly more in case of a downstream split with no intermediate GTU.PerceptionCollectable<GtuHeadway,LaneBasedGtu>DirectNeighborsPerception. getFollowers(RelativeLane lane)Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>NeighborsPerception. getFollowers(RelativeLane lane)Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>AccPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>CaccPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>DirectNeighborsPerception. getLeaders(RelativeLane lane)Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>LongitudinalControllerPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>NeighborsPerception. getLeaders(RelativeLane lane)Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.static SortedSet<GtuHeadway>NeighborsUtil. perceive(SortedSet<NeighborsUtil.DistanceGtu> base, GtuHeadwayType headwayGtuType, InternalLaneBasedGtu perceivingGtu, boolean downstream)Translation from a set ofDistanceGTU's, to a sorted set ofHeadwayGTU's. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.perception.headway
Classes in org.opentrafficsim.road.gtu.lane.perception.headway that implement GtuHeadway Modifier and Type Class Description classAbstractGtuHeadwayContainer for a reference to information about a (lane based) GTU and a headway.classGtuHeadwayPerceivedCopyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classGtuHeadwayRealContainer for a reference to information about a (lane based) GTU and a headway.classGtuHeadwayRealCopyContainer for a reference to information about a (lane based) GTU and a headway.classGtuHeadwaySimpleContainer for a reference to information about a (lane based) GTU and a headway.classGtuHeadwayTypeContainer for a reference to information about a (lane based) GTU and a headway.Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return GtuHeadway Modifier and Type Method Description GtuHeadwayGtuHeadway. moved(Length headway, Speed speed, Acceleration acceleration)Creates a copy with different headway, speed and possibly acceleration.GtuHeadwayGtuHeadwayReal. moved(Length headway, Speed speed, Acceleration acceleration)Creates a copy with different headway, speed and possibly acceleration.Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return types with arguments of type GtuHeadway Modifier and Type Method Description PerceptionCollectable<GtuHeadway,LaneBasedGtu>ConflictHeadway. getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceptionCollectable<GtuHeadway,LaneBasedGtu>ConflictHeadway. getUpstreamConflictingGTUs()Returns a set of conflicting GTU's upstream of the start of the conflict ordered close to far from the conflict.Constructor parameters in org.opentrafficsim.road.gtu.lane.perception.headway with type arguments of type GtuHeadway Constructor Description ConflictHeadway(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<GtuHeadway,LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<GtuHeadway,LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, ConflictHeadway.Width width, StopLineHeadway stopLine, StopLineHeadway conflictingStopLine, Lane lane)Constructor.ConflictHeadway(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<GtuHeadway,LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<GtuHeadway,LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, ConflictHeadway.Width width, Lane lane)Constructor without stop lines. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type GtuHeadway Modifier and Type Method Description static AccelerationCarFollowingUtil. followSingleLeader(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, GtuHeadway leader)Follow a set of headway GTUs.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util with type arguments of type GtuHeadway Modifier and Type Method Description static AccelerationConflictUtil. approachConflicts(Parameters parameters, Iterable<ConflictHeadway> conflicts, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, InternalLaneBasedGtu gtu, RelativeLane lane)Approach conflicts by applying appropriate acceleration (or deceleration).static booleanConflictUtil. stopForGiveWayConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd)Approach a give-way conflict.static booleanConflictUtil. stopForPriorityConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)Approach a priority conflict.static booleanConflictUtil. stopForStopConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd)Approach a stop conflict. -
Uses of GtuHeadway in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs that return GtuHeadway Modifier and Type Method Description static GtuHeadwaySynchronization. getFollower(GtuHeadway gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, GtuHeadway follower, Length ownLength)Returns the upstream gtu of the given gtu.static GtuHeadwaySynchronization. getTargetLeader(GtuHeadway gtu, SortedSet<GtuHeadway> leaders)Returns the leader of one gtu from a set.Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs that return types with arguments of type GtuHeadway Modifier and Type Method Description static PerceptionCollectable<GtuHeadway,LaneBasedGtu>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<GtuHeadway,LaneBasedGtu> set, LanePerception perception, RelativeLane relativeLane)Removes all GTUs from the set, that are found upstream on the conflicting lane of a conflict in the current lane.Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type GtuHeadway Modifier and Type Method Description static booleanSynchronization. canBeAhead(GtuHeadway adjacentVehicle, Length xCur, int nCur, Speed ownSpeed, Length ownLength, Speed tagSpeed, double dCoop, Acceleration b, Duration tMin, Duration tMax, Length x0, Duration t0, Duration lc, double desire)Returns whether a driver estimates it can be ahead of an adjacent vehicle for merging.static GtuHeadwaySynchronization. getFollower(GtuHeadway gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, GtuHeadway follower, Length ownLength)Returns the upstream gtu of the given gtu.static GtuHeadwaySynchronization. getTargetLeader(GtuHeadway gtu, SortedSet<GtuHeadway> leaders)Returns the leader of one gtu from a set.static AccelerationSynchronization. tagAlongAcceleration(GtuHeadway leader, Speed followerSpeed, Length followerLength, Speed tagSpeed, double desire, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm)Calculates acceleration by following an adjacent vehicle, with tagging along if desire is not very high and speed is low.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with type arguments of type GtuHeadway Modifier and Type Method Description static GtuHeadwaySynchronization. getFollower(GtuHeadway gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, GtuHeadway follower, Length ownLength)Returns the upstream gtu of the given gtu.static GtuHeadwaySynchronization. getTargetLeader(GtuHeadway gtu, SortedSet<GtuHeadway> leaders)Returns the leader of one gtu from a set.static PerceptionCollectable<GtuHeadway,LaneBasedGtu>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<GtuHeadway,LaneBasedGtu> set, LanePerception perception, RelativeLane relativeLane)Removes all GTUs from the set, that are found upstream on the conflicting lane of a conflict in the current lane. -
Uses of GtuHeadway in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict that return types with arguments of type GtuHeadway Modifier and Type Method Description PerceptionCollectable<GtuHeadway,LaneBasedGtu>Conflict. getDownstreamGtus(InternalLaneBasedGtu perceivingGtu, GtuHeadwayType headwayGtuType, Length visibility)Provides the downstream GTUs.PerceptionCollectable<GtuHeadway,LaneBasedGtu>Conflict. getUpstreamGtus(InternalLaneBasedGtu perceivingGtu, GtuHeadwayType headwayGtuType, Length visibility)Provides the upstream GTUs.
-