Uses of Class
org.opentrafficsim.road.gtu.lane.perception.RelativeLane
Packages that use RelativeLane
Package
Description
Implementation of lane-based perception for the GTU.
Categories define a set of perceivable information.
Contains perception categories to perceive neighbors.
Copyright (c) 2013-2023 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 implement the LMRS lane change model integrated with a car-following model forming a tactical planner.
Copyright (c) 2013-2023 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 RelativeLane in org.opentrafficsim.road.gtu.lane.perception
Fields in org.opentrafficsim.road.gtu.lane.perception declared as RelativeLaneModifier and TypeFieldDescriptionstatic final RelativeLaneRelativeLane.CURRENTCurrent lane.static final RelativeLaneRelativeLane.LEFTLeft lane.static final RelativeLaneRelativeLane.RIGHTright lane.static final RelativeLaneRelativeLane.SECOND_LEFTSecond left lane.static final RelativeLaneRelativeLane.SECOND_RIGHTSecond right lane.Methods in org.opentrafficsim.road.gtu.lane.perception that return RelativeLaneModifier and TypeMethodDescriptionfinal RelativeLaneRelativeLane.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".final RelativeLaneRelativeLane.getLeft()Returns the left hand relative lane of this relative lane.final RelativeLaneRelativeLane.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 RelativeLaneModifier and TypeMethodDescriptionRollingLaneStructure.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.final <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.final <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.LaneStructure.getExtendedCrossSection()Returns the extended cross-section, which includes all lanes for which a first record is present.final 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 RelativeLaneModifier and TypeMethodDescriptionfinal RelativeLaneRelativeLane.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".voidMultiLanePerceptionIterable.addIterable(RelativeLane lane, AbstractPerceptionReiterable<H, U> iterable) Adds an iterable for a lane.final intRelativeLane.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.final <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.final <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.LaneStructure.getFirstRecord(RelativeLane lane) Returns the first record on the given lane.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.final <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 RelativeLaneModifierConstructorDescriptionDownstreamNeighborsIterable(LaneBasedGtu perceivingGtu, LaneRecordInterface<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane, boolean ignoreIfUpstream) Constructor.UpstreamNeighborsIterable(LaneBasedGtu perceivingGtu, LaneRecordInterface<?> 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 RelativeLaneModifier and TypeMethodDescriptionfinal SortedSet<RelativeLane>DirectInfrastructurePerception.getCrossSection()Returns a set of relative lanes representing the cross section.InfrastructurePerception.getCrossSection()Returns a set of relative lanes representing the cross section.final org.opentrafficsim.base.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 RelativeLaneModifier and TypeMethodDescriptionDirectIntersectionPerception.getConflicts(RelativeLane lane) Returns a set of conflicts along the route.IntersectionPerception.getConflicts(RelativeLane lane) Returns a set of conflicts along the route.AnticipationTrafficPerception.getDensity(RelativeLane lane) Returns the perceived density on the given lane.TrafficPerception.getDensity(RelativeLane lane) Returns the perceived density on the given lane.DirectInfrastructurePerception.getInfrastructureLaneChangeInfo(RelativeLane lane) Returns infrastructure lane change info of a lane.InfrastructurePerception.getInfrastructureLaneChangeInfo(RelativeLane lane) Returns infrastructure lane change info of a lane.final LengthDirectInfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains legally possible.InfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains legally possible.final LengthDirectInfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains physically possible.InfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains physically possible.AnticipationTrafficPerception.getSpeed(RelativeLane lane) Returns the perceived speed on the given lane.TrafficPerception.getSpeed(RelativeLane lane) Returns the perceived speed on the given lane.final SpeedLimitProspectDirectInfrastructurePerception.getSpeedLimitProspect(RelativeLane lane) Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).InfrastructurePerception.getSpeedLimitProspect(RelativeLane lane) Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).final org.opentrafficsim.base.TimeStampedObject<SortedSet<InfrastructureLaneChangeInfo>>DirectInfrastructurePerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane) Returns time stamped infrastructure lane change info of a lane.final org.opentrafficsim.base.TimeStampedObject<Length>DirectInfrastructurePerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the time stamped distance over which a lane change remains legally possible.final org.opentrafficsim.base.TimeStampedObject<Length>DirectInfrastructurePerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the time stamped distance over which a lane change remains physically possible.final org.opentrafficsim.base.TimeStampedObject<SpeedLimitProspect>DirectInfrastructurePerception.getTimeStampedSpeedLimitProspect(RelativeLane lane) Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).DirectIntersectionPerception.getTrafficLights(RelativeLane lane) Returns a set of traffic lights along the route.IntersectionPerception.getTrafficLights(RelativeLane lane) Returns a set of traffic lights along the route.final voidDirectInfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane) Updates the infrastructural lane change info.voidInfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane) Updates the infrastructural lane change info.final voidDirectInfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat) Updates the distance over which lane changes remains legally possible.voidInfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat) Updates the distance over which lane changes remains legally possible.final voidDirectInfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat) Updates the distance over which lane changes remains physically possible.voidInfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane, LateralDirectionality lat) Updates the distance over which lane changes remains physically possible.final voidDirectInfrastructurePerception.updateSpeedLimitProspect(RelativeLane lane) Updates the speed limit prospect.voidInfrastructurePerception.updateSpeedLimitProspect(RelativeLane lane) Updates the speed limit prospect.Constructors in org.opentrafficsim.road.gtu.lane.perception.categories with parameters of type RelativeLaneModifierConstructorDescriptionAnticipationSpeed(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 RelativeLaneModifier and TypeMethodDescriptionDirectNeighborsPerception.getFollowers(RelativeLane lane) Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.NeighborsPerception.getFollowers(RelativeLane lane) Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.DirectNeighborsPerception.getLeaders(RelativeLane lane) Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.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 RelativeLaneConstructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type RelativeLaneModifierConstructorDescriptionHeadwayBusStop(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 RelativeLaneModifier and TypeMethodDescriptionfinal RelativeLaneLaneChange.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 RelativeLaneModifier and TypeMethodDescriptionfinal voidAccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final voidAccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.voidAccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.voidAccelerationNoRightOvertake.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final voidAccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final voidAccelerationTrafficLights.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, org.opentrafficsim.base.parameters.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 RelativeLaneModifier and TypeMethodDescriptionfinal SortedSet<RelativeLane>ToledoPerception.getCrossSection()Returns a set of relative lanes representing the cross section.final org.opentrafficsim.base.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 RelativeLaneModifier and TypeMethodDescriptionToledoPerception.getInfrastructureLaneChangeInfo(RelativeLane lane) Returns infrastructure lane change info of a lane.final LengthToledoPerception.getLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains legally possible.final LengthToledoPerception.getPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains physically possible.final SpeedLimitProspectToledoPerception.getSpeedLimitProspect(RelativeLane lane) Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).final org.opentrafficsim.base.TimeStampedObject<SortedSet<InfrastructureLaneChangeInfoToledo>>ToledoPerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane) Returns time stamped infrastructure lane change info of a lane.final org.opentrafficsim.base.TimeStampedObject<Length>ToledoPerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the time stamped distance over which a lane change remains legally possible.final org.opentrafficsim.base.TimeStampedObject<Length>ToledoPerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Returns the time stamped distance over which a lane change remains physically possible.final org.opentrafficsim.base.TimeStampedObject<SpeedLimitProspect>ToledoPerception.getTimeStampedSpeedLimitProspect(RelativeLane lane) Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).voidToledoPerception.updateInfrastructureLaneChangeInfo(RelativeLane lane) Updates the infrastructural lane change info.final voidToledoPerception.updateLegalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Updates the distance over which lane changes remains legally possible.final voidToledoPerception.updatePhysicalLaneChangePossibility(RelativeLane fromLane, LateralDirectionality lat) Updates the distance over which lane changes remains physically possible.final voidToledoPerception.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 RelativeLaneModifier and TypeMethodDescriptionstatic AccelerationConflictUtil.approachConflicts(org.opentrafficsim.base.parameters.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 RelativeLaneModifier and TypeMethodDescriptionSynchronization.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.