Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable
-
Packages that use PerceptionCollectable Package Description 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 Categories define a set of perceivable information.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 PerceptionCollectable in org.opentrafficsim.road.gtu.lane.control
Methods in org.opentrafficsim.road.gtu.lane.control with parameters of type PerceptionCollectable Modifier and Type Method Description abstract Acceleration
AbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.Acceleration
AbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.abstract Acceleration
AbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control. -
Uses of PerceptionCollectable in org.opentrafficsim.road.gtu.lane.perception
Classes in org.opentrafficsim.road.gtu.lane.perception that implement PerceptionCollectable Modifier and Type Class Description class
AbstractPerceptionIterable<H extends Headway,U,C>
Abstract iterable that figures out how to find the next nearest object, including splits.class
AbstractPerceptionReiterable<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.class
DownstreamNeighborsIterable
Iterable to find downstream GTU's.
The behavior of this search is slightly altered usingboolean ignoreIfUpstream
.class
LaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject>
Iterable that searches downstream or upstream for a certain type of lane based object.class
MultiLanePerceptionIterable<H extends Headway,U>
Iterable class to search over multiple lanes.class
SortedSetPerceptionIterable<H extends Headway>
Deprecated.class
UpstreamNeighborsIterable
Iterable to find upstream GTU's. -
Uses of PerceptionCollectable in org.opentrafficsim.road.gtu.lane.perception.categories
Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return PerceptionCollectable Modifier and Type Method Description PerceptionCollectable<HeadwayBusStop,BusStop>
DirectBusStopPerception. computeBusStops()
Returns bus stops.PerceptionCollectable<HeadwayBusStop,BusStop>
BusStopPerception. getBusStops()
Returns the bus stops.PerceptionCollectable<HeadwayBusStop,BusStop>
DirectBusStopPerception. getBusStops()
Returns the bus stops.PerceptionCollectable<HeadwayConflict,Conflict>
DirectIntersectionPerception. getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.PerceptionCollectable<HeadwayConflict,Conflict>
IntersectionPerception. getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.PerceptionCollectable<HeadwayTrafficLight,TrafficLight>
DirectIntersectionPerception. getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.PerceptionCollectable<HeadwayTrafficLight,TrafficLight>
IntersectionPerception. getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route. -
Uses of PerceptionCollectable in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return PerceptionCollectable Modifier and Type Method Description 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. -
Uses of PerceptionCollectable in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return PerceptionCollectable 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.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type PerceptionCollectable Constructor Description HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, 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, Class<? extends ConflictRule> conflictRuleType, 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 PerceptionCollectable in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type PerceptionCollectable Modifier and Type Method Description static Acceleration
ConflictUtil. approachConflicts(Parameters parameters, 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 boolean
ConflictUtil. 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 boolean
ConflictUtil. stopForPriorityConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)
Approach a priority conflict.static boolean
ConflictUtil. 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 PerceptionCollectable in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs that return PerceptionCollectable 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 PerceptionCollectable Modifier and Type Method Description static HeadwayGTU
Synchronization. getFollower(HeadwayGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, HeadwayGTU follower, Length ownLength)
Returns the upstream gtu of the given gtu.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 PerceptionCollectable in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict that return PerceptionCollectable 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.
-