Uses of Class
org.opentrafficsim.road.gtu.lane.perception.RelativeLane
-
Packages that use RelativeLane Package Description 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.plan.operational Specific operational plan method for road-vehicles operating in a lane-based network.org.opentrafficsim.road.gtu.lane.tactical.lmrs Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner.org.opentrafficsim.road.gtu.lane.tactical.toledo 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. -
-
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.perception
Fields in org.opentrafficsim.road.gtu.lane.perception declared as RelativeLane Modifier and Type Field Description static RelativeLane
RelativeLane. CURRENT
Current lane.static RelativeLane
RelativeLane. LEFT
Left lane.static RelativeLane
RelativeLane. RIGHT
right lane.static RelativeLane
RelativeLane. SECOND_LEFT
Second left lane.static RelativeLane
RelativeLane. SECOND_RIGHT
Second right lane.Methods in org.opentrafficsim.road.gtu.lane.perception that return RelativeLane Modifier and Type Method Description RelativeLane
RelativeLane. add(RelativeLane relativeLane)
Returns the relative lane relative to this lane, for example "the left lane" of "the 3rd right lane" is "the 2nd right lane".RelativeLane
RelativeLane. getLeft()
Returns the left hand relative lane of this relative lane.RelativeLane
RelativeLane. getRight()
Returns the right hand relative lane of this relative lane.Methods in org.opentrafficsim.road.gtu.lane.perception that return types with arguments of type RelativeLane Modifier and Type Method Description TreeMap<RelativeLane,RollingLaneStructureRecord>
RollingLaneStructure.AnimationAccess. getCrossSectionRecords()
<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjects(Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjects(Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjectsOnRoute(Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)
Retrieve objects of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjectsOnRoute(Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)
Retrieve objects of a specific type.SortedSet<RelativeLane>
LaneStructure. getExtendedCrossSection()
Returns the extended cross-section, which includes all lanes for which a first record is present.SortedSet<RelativeLane>
RollingLaneStructure. getExtendedCrossSection()
Returns the extended cross-section, which includes all lanes for which a first record is present.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type RelativeLane Modifier and Type Method Description RelativeLane
RelativeLane. add(RelativeLane relativeLane)
Returns the relative lane relative to this lane, for example "the left lane" of "the 3rd right lane" is "the 2nd right lane".void
MultiLanePerceptionIterable. addIterable(RelativeLane lane, AbstractPerceptionReiterable<H,U> iterable)
Adds an iterable for a lane.int
RelativeLane. compareTo(RelativeLane rel)
<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)
Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)
Retrieve objects on a lane of a specific type.LaneStructureRecord
LaneStructure. getFirstRecord(RelativeLane lane)
Returns the first record on the given lane.RollingLaneStructureRecord
RollingLaneStructure. getFirstRecord(RelativeLane lane)
Returns the first record on the given lane.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getUpstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getUpstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type RelativeLane Constructor Description DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane, boolean ignoreIfUpstream)
Constructor.UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane)
Constructor. -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.perception.categories
Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return types with arguments of type RelativeLane Modifier and Type Method Description SortedSet<RelativeLane>
DirectInfrastructurePerception. getCrossSection()
Returns a set of relative lanes representing the cross section.SortedSet<RelativeLane>
InfrastructurePerception. getCrossSection()
Returns a set of relative lanes representing the cross section.TimeStampedObject<SortedSet<RelativeLane>>
DirectInfrastructurePerception. getTimeStampedCrossSection()
Returns a time stamped set of relative lanes representing the cross section.Methods in org.opentrafficsim.road.gtu.lane.perception.categories with parameters of type RelativeLane Modifier and Type Method Description 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.LinearDensity
AnticipationTrafficPerception. getDensity(RelativeLane lane)
Returns the perceived density on the given lane.LinearDensity
TrafficPerception. getDensity(RelativeLane lane)
Returns the perceived density on the given lane.SortedSet<InfrastructureLaneChangeInfo>
DirectInfrastructurePerception. getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.SortedSet<InfrastructureLaneChangeInfo>
InfrastructurePerception. getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.Length
DirectInfrastructurePerception. getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.Length
InfrastructurePerception. getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.Length
DirectInfrastructurePerception. getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.Length
InfrastructurePerception. getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.Speed
AnticipationTrafficPerception. getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.Speed
TrafficPerception. getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.SpeedLimitProspect
DirectInfrastructurePerception. getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).SpeedLimitProspect
InfrastructurePerception. getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).TimeStampedObject<SortedSet<InfrastructureLaneChangeInfo>>
DirectInfrastructurePerception. getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.TimeStampedObject<Length>
DirectInfrastructurePerception. getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.TimeStampedObject<Length>
DirectInfrastructurePerception. getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.TimeStampedObject<SpeedLimitProspect>
DirectInfrastructurePerception. getTimeStampedSpeedLimitProspect(RelativeLane lane)
Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).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.void
DirectInfrastructurePerception. updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.void
InfrastructurePerception. updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.void
DirectInfrastructurePerception. updateLegalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.void
InfrastructurePerception. updateLegalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.void
DirectInfrastructurePerception. updatePhysicalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.void
InfrastructurePerception. updatePhysicalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.void
DirectInfrastructurePerception. updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect.void
InfrastructurePerception. updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect.Constructors in org.opentrafficsim.road.gtu.lane.perception.categories with parameters of type RelativeLane Constructor Description AnticipationSpeed(Speed desiredSpeed, Length lookAhead, RelativeLane lane)
Constructor. -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors with parameters of type RelativeLane 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>
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>
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 RelativeLane in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return RelativeLane Modifier and Type Method Description RelativeLane
HeadwayBusStop. getRelativeLane()
Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type RelativeLane Constructor Description HeadwayBusStop(BusStop busStop, Length distance, RelativeLane relativeLane, Set<String> conflictIds, Lane lane)
-
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational that return RelativeLane Modifier and Type Method Description RelativeLane
LaneChange. getSecondLane(LaneBasedGTU gtu)
Second lane of lane change relative to the reference lane. -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.tactical.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type RelativeLane Modifier and Type Method Description void
AccelerationBusStop. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationConflicts. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationIncentive. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationNoRightOvertake. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationSpeedLimitTransition. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationTrafficLights. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration. -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.tactical.toledo
Methods in org.opentrafficsim.road.gtu.lane.tactical.toledo that return types with arguments of type RelativeLane Modifier and Type Method Description SortedSet<RelativeLane>
ToledoPerception. getCrossSection()
Returns a set of relative lanes representing the cross section.TimeStampedObject<SortedSet<RelativeLane>>
ToledoPerception. getTimeStampedCrossSection()
Returns a time stamped set of relative lanes representing the cross section.Methods in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type RelativeLane Modifier and Type Method Description SortedSet<InfrastructureLaneChangeInfoToledo>
ToledoPerception. getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.Length
ToledoPerception. getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.Length
ToledoPerception. getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.SpeedLimitProspect
ToledoPerception. getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).TimeStampedObject<SortedSet<InfrastructureLaneChangeInfoToledo>>
ToledoPerception. getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.TimeStampedObject<Length>
ToledoPerception. getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.TimeStampedObject<Length>
ToledoPerception. getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.TimeStampedObject<SpeedLimitProspect>
ToledoPerception. getTimeStampedSpeedLimitProspect(RelativeLane lane)
Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).void
ToledoPerception. updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.void
ToledoPerception. updateLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.void
ToledoPerception. updatePhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.void
ToledoPerception. updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect. -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type RelativeLane 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). -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type RelativeLane 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.
-