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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
The lane structure provides a way to see the world for a lane based model.
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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
Static methods for composition in tactical planners.
-
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.perception
Fields in org.opentrafficsim.road.gtu.lane.perception declared as RelativeLaneModifier and TypeFieldDescriptionstatic final RelativeLane
RelativeLane.CURRENT
Current lane.static final RelativeLane
RelativeLane.LEFT
Left lane.static final RelativeLane
RelativeLane.RIGHT
right lane.static final RelativeLane
RelativeLane.SECOND_LEFT
Second left lane.static final RelativeLane
RelativeLane.SECOND_RIGHT
Second right lane.Methods in org.opentrafficsim.road.gtu.lane.perception that return RelativeLaneModifier and TypeMethodDescriptionfinal 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".final RelativeLane
RelativeLane.getLeft()
Returns the left hand relative lane of this relative lane.final RelativeLane
RelativeLane.getRight()
Returns the right hand relative lane of this relative lane.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type RelativeLaneModifier and TypeMethodDescriptionfinal 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<P, H, U> iterable) Adds an iterable for a lane.final int
RelativeLane.compareTo
(RelativeLane rel) -
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()
InfrastructurePerception.getCrossSection()
Returns a 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) IntersectionPerception.getConflicts
(RelativeLane lane) Returns a set of conflicts along the route.org.djunits.value.vdouble.scalar.LinearDensity
AnticipationTrafficPerception.getDensity
(RelativeLane lane) org.djunits.value.vdouble.scalar.LinearDensity
TrafficPerception.getDensity
(RelativeLane lane) Returns the perceived density on the given lane.final SortedSet<LaneChangeInfo>
DirectInfrastructurePerception.getLegalLaneChangeInfo
(RelativeLane lane) InfrastructurePerception.getLegalLaneChangeInfo
(RelativeLane lane) Returns infrastructure lane change info of a lane.final org.djunits.value.vdouble.scalar.Length
DirectInfrastructurePerception.getLegalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) org.djunits.value.vdouble.scalar.Length
InfrastructurePerception.getLegalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains legally possible.final SortedSet<LaneChangeInfo>
DirectInfrastructurePerception.getPhysicalLaneChangeInfo
(RelativeLane lane) InfrastructurePerception.getPhysicalLaneChangeInfo
(RelativeLane lane) Returns infrastructure lane change info of a lane.final org.djunits.value.vdouble.scalar.Length
DirectInfrastructurePerception.getPhysicalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) org.djunits.value.vdouble.scalar.Length
InfrastructurePerception.getPhysicalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains physically possible.org.djunits.value.vdouble.scalar.Speed
AnticipationTrafficPerception.getSpeed
(RelativeLane lane) org.djunits.value.vdouble.scalar.Speed
TrafficPerception.getSpeed
(RelativeLane lane) Returns the perceived speed on the given lane.final SpeedLimitProspect
DirectInfrastructurePerception.getSpeedLimitProspect
(RelativeLane lane) InfrastructurePerception.getSpeedLimitProspect
(RelativeLane lane) Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).DirectIntersectionPerception.getTrafficLights
(RelativeLane lane) IntersectionPerception.getTrafficLights
(RelativeLane lane) Returns a set of traffic lights along the route.Constructors in org.opentrafficsim.road.gtu.lane.perception.categories with parameters of type RelativeLaneModifierConstructorDescriptionAnticipationSpeed
(org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.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) 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) 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, org.djunits.value.vdouble.scalar.Length distance, RelativeLane relativeLane, Set<String> conflictIds, Lane lane) -
Uses of RelativeLane in org.opentrafficsim.road.gtu.lane.perception.structure
Methods in org.opentrafficsim.road.gtu.lane.perception.structure that return RelativeLaneMethods in org.opentrafficsim.road.gtu.lane.perception.structure that return types with arguments of type RelativeLaneModifier and TypeMethodDescriptionLaneStructure.getRootCrossSection()
Returns all the lanes that are in the root cross-section, i.e. to our direct left and right.Methods in org.opentrafficsim.road.gtu.lane.perception.structure with parameters of type RelativeLaneModifier and TypeMethodDescriptionboolean
LaneStructure.exists
(RelativeLane lane) Returns whether the lane exists within the structure.LaneStructure.getCrossSectionRecords
(RelativeLane lane) Returns the set of records in the cross-section on the given lane.LaneStructure.getDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.<T extends LaneBasedObject>
Iterable<NavigatingIterable.Entry<T>>LaneStructure.getDownstreamObjects
(RelativeLane relativeLane, Class<T> clazz, RelativePosition.Type position, boolean onRoute) Returns an iterator over objects perceived on a relative lane, ordered close to far.LaneStructure.getFirstDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getFirstUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getRootRecord
(RelativeLane lane) Returns the root record on the given lane.LaneStructure.getUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.<T extends LaneBasedObject>
Iterable<NavigatingIterable.Entry<T>>LaneStructure.getUpstreamObjects
(RelativeLane relativeLane, Class<T> clazz, RelativePosition.Type position) Returns an iterator over objects perceived on a relative lane, ordered close to far.Constructors in org.opentrafficsim.road.gtu.lane.perception.structure with parameters of type RelativeLaneModifierConstructorDescriptionLaneRecord
(Lane lane, RelativeLane relativeLane, org.djunits.value.vdouble.scalar.Length startDistance, org.djunits.value.vdouble.scalar.Length mergeDistance) Constructor. -
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 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 RelativeLaneModifier and TypeMethodDescriptionfinal void
AccelerationBusStop.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) final void
AccelerationConflicts.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) void
AccelerationIncentive.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.void
AccelerationNoRightOvertake.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) final void
AccelerationSpeedLimitTransition.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) final void
AccelerationTrafficLights.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) -
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.Methods in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type RelativeLaneModifier and TypeMethodDescriptionfinal SortedSet<LaneChangeInfo>
ToledoPerception.getInfrastructureLaneChangeInfo
(RelativeLane lane) Returns infrastructure lane change info of a lane.final org.djunits.value.vdouble.scalar.Length
ToledoPerception.getLegalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains legally possible.final org.djunits.value.vdouble.scalar.Length
ToledoPerception.getPhysicalLaneChangePossibility
(RelativeLane fromLane, LateralDirectionality lat) Returns the distance over which a lane change remains physically possible.final SpeedLimitProspect
ToledoPerception.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<LaneChangeInfo>>
ToledoPerception.getTimeStampedInfrastructureLaneChangeInfo
(RelativeLane lane) Returns time stamped infrastructure lane change info of a lane.void
ToledoPerception.updateInfrastructureLaneChangeInfo
(RelativeLane lane) Updates the infrastructural lane change info. -
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 org.djunits.value.vdouble.scalar.Acceleration
ConflictUtil.approachConflicts
(org.opentrafficsim.base.parameters.Parameters parameters, Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Length vehicleLength, org.djunits.value.vdouble.scalar.Length vehicleWidth, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGtu gtu, RelativeLane lane) Approach conflicts by applying appropriate acceleration (or deceleration).