Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGTU
| 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 HeadwayGTU in org.opentrafficsim.road.gtu.generator
Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type HeadwayGTU Modifier and Type Method Description LaneBasedGTUGenerator.PlacementCFRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementLaneBasedGTUGenerator.RoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementTTCRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.control
Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type HeadwayGTU Modifier and Type Method Description abstract AccelerationAbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.AccelerationAbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.abstract AccelerationAbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception that return HeadwayGTU Modifier and Type Method Description HeadwayGTUDownstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)Returns a perceived version of the underlying object.HeadwayGTUUpstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)Returns a perceived version of the underlying object. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return HeadwayGTU Modifier and Type Method Description HeadwayGTUDefaultCaccSensors. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.default HeadwayGTUHeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.HeadwayGTUDefaultCaccSensors. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUHeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUDefaultCaccSensors. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createUpstreamGtu(LaneBasedGTU 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 HeadwayGTU Modifier and Type Method Description java.util.SortedSet<HeadwayGTU>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.java.util.SortedSet<HeadwayGTU>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.java.util.SortedSet<HeadwayGTU>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.java.util.SortedSet<HeadwayGTU>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<HeadwayGTU,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<HeadwayGTU,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<HeadwayGTU,LaneBasedGTU>AccPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>CaccPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,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<HeadwayGTU,LaneBasedGTU>LongitudinalControllerPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,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 java.util.SortedSet<HeadwayGTU>NeighborsUtil. perceive(java.util.SortedSet<NeighborsUtil.DistanceGTU> base, HeadwayGtuType headwayGtuType, LaneBasedGTU perceivingGtu, boolean downstream)Translation from a set ofDistanceGTU's, to a sorted set ofHeadwayGTU's. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.perception.headway
Classes in org.opentrafficsim.road.gtu.lane.perception.headway that implement HeadwayGTU Modifier and Type Class Description classAbstractHeadwayGTUContainer for a reference to information about a (lane based) GTU and a headway.classHeadwayGTUPerceivedCopyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.classHeadwayGTURealContainer for a reference to information about a (lane based) GTU and a headway.classHeadwayGTURealCopyContainer for a reference to information about a (lane based) GTU and a headway.classHeadwayGTUSimpleContainer for a reference to information about a (lane based) GTU and a headway.classHeadwayGTUTypeContainer for a reference to information about a (lane based) GTU and a headway.Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return HeadwayGTU Modifier and Type Method Description HeadwayGTUHeadwayGTU. moved(Length headway, Speed speed, Acceleration acceleration)Creates a copy with different headway, speed and possibly acceleration.HeadwayGTUHeadwayGTUReal. 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 HeadwayGTU Modifier and Type Method Description PerceptionCollectable<HeadwayGTU,LaneBasedGTU>HeadwayConflict. getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>HeadwayConflict. 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 HeadwayGTU Constructor Description HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, HeadwayStopLine stopLine, HeadwayStopLine conflictingStopLine, Lane lane)Constructor.HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, Lane lane)Constructor without stop lines. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type HeadwayGTU Modifier and Type Method Description static AccelerationCarFollowingUtil. followSingleLeader(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, HeadwayGTU leader)Follow a set of headway GTUs.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util with type arguments of type HeadwayGTU Modifier and Type Method Description static AccelerationConflictUtil. approachConflicts(Parameters parameters, java.lang.Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGTU gtu, RelativeLane lane)Approach conflicts by applying appropriate acceleration (or deceleration).static booleanConflictUtil. stopForGiveWayConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,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(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)Approach a priority conflict.static booleanConflictUtil. stopForStopConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd)Approach a stop conflict. -
Uses of HeadwayGTU in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs that return HeadwayGTU Modifier and Type Method Description static HeadwayGTUSynchronization. getFollower(HeadwayGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, HeadwayGTU follower, Length ownLength)Returns the upstream gtu of the given gtu.static HeadwayGTUSynchronization. getTargetLeader(HeadwayGTU gtu, java.util.SortedSet<HeadwayGTU> 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 HeadwayGTU Modifier and Type Method Description static PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<HeadwayGTU,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 HeadwayGTU Modifier and Type Method Description static booleanSynchronization. canBeAhead(HeadwayGTU 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 HeadwayGTUSynchronization. getFollower(HeadwayGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, HeadwayGTU follower, Length ownLength)Returns the upstream gtu of the given gtu.static HeadwayGTUSynchronization. getTargetLeader(HeadwayGTU gtu, java.util.SortedSet<HeadwayGTU> leaders)Returns the leader of one gtu from a set.static AccelerationSynchronization. tagAlongAcceleration(HeadwayGTU 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 HeadwayGTU Modifier and Type Method Description static HeadwayGTUSynchronization. getFollower(HeadwayGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, HeadwayGTU follower, Length ownLength)Returns the upstream gtu of the given gtu.static HeadwayGTUSynchronization. getTargetLeader(HeadwayGTU gtu, java.util.SortedSet<HeadwayGTU> leaders)Returns the leader of one gtu from a set.static PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<HeadwayGTU,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 HeadwayGTU in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict that return types with arguments of type HeadwayGTU Modifier and Type Method Description PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getDownstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType headwayGtuType, Length visibility)Provides the downstream GTUs.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getUpstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType headwayGtuType, Length visibility)Provides the upstream GTUs.