Uses of Interface
org.opentrafficsim.road.network.lane.object.LaneBasedObject
Packages that use LaneBasedObject
Package
Description
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
Implementation of lane-based perception for the GTU.
Contains perception categories to perceive neighbors.
The lane structure provides a way to see the world for a lane based model.
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
Contains classes describing intersection conflicts.
Lane-based objects such as barriers, gates, traffic lights, DRIPs, speed signs, obstacles on the road, etc.
Lane-based objects that act as sensors.
Traffic light and traffic light controller objects.
-
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane
Classes in org.opentrafficsim.road.gtu.lane that implement LaneBasedObjectModifier and TypeClassDescriptionclass
This class contains most of the code that is needed to run a lane based GTU. -
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane.perception
Classes in org.opentrafficsim.road.gtu.lane.perception with type parameters of type LaneBasedObjectModifier and TypeClassDescriptionclass
AbstractPerceptionReiterable<P extends LaneBasedObject,
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
MultiLanePerceptionIterable<P extends LaneBasedObject,
H extends Headway, U> Iterable class to search over multiple lanes. -
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors with parameters of type LaneBasedObjectModifier and TypeMethodDescriptiondefault HeadwayGtu
HeadwayGtuType.createHeadwayGtu
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream) Creates a headway object from a GTU, downstream or upstream.HeadwayGtuType.PerceivedHeadwayGtuType.createHeadwayGtu
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream) Estimation.estimate
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) Estimate headway, speed and acceleration.Estimation.FactorEstimation.estimate
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) default org.djunits.value.vdouble.scalar.Length
Estimation.getDelayedDistance
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) Returns a delayed distance.default org.djunits.value.vdouble.scalar.Speed
Estimation.getDelayedSpeedDifference
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Time when) Returns a delayed speed difference (other minus ego).default org.djunits.value.vdouble.scalar.Speed
Estimation.getEgoSpeed
(LaneBasedGtu perceivingGtu, LaneBasedObject reference) Returns the ego speed. -
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane.perception.structure
Methods in org.opentrafficsim.road.gtu.lane.perception.structure with type parameters of type LaneBasedObjectModifier and TypeMethodDescription<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.<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. -
Uses of LaneBasedObject in org.opentrafficsim.road.network.lane
Methods in org.opentrafficsim.road.network.lane that return types with arguments of type LaneBasedObjectModifier and TypeMethodDescriptionfinal SortedMap<Double,
List<LaneBasedObject>> Lane.getLaneBasedObjectMap()
Retrieve the list of LaneBasedObjects of this Lane.final List<LaneBasedObject>
Lane.getLaneBasedObjects()
Retrieve the list of all LaneBasedObjects of this Lane.final List<LaneBasedObject>
Lane.getLaneBasedObjects
(org.djunits.value.vdouble.scalar.Length minimumPosition, org.djunits.value.vdouble.scalar.Length maximumPosition) Retrieve the list of LaneBasedObjects of this Lane in the specified distance range.final List<LaneBasedObject>
Lane.getObjectAhead
(org.djunits.value.vdouble.scalar.Length position) Get the first object where the relativePosition is in front of a certain position on the lane, in a driving direction on this lane, compared to the DESIGN LINE.final List<LaneBasedObject>
Lane.getObjectBehind
(org.djunits.value.vdouble.scalar.Length position) Get the first object where the relativePosition is behind of a certain position on the lane, in a driving direction on this lane, compared to the DESIGN LINE.Methods in org.opentrafficsim.road.network.lane with parameters of type LaneBasedObjectModifier and TypeMethodDescriptionfinal void
Lane.addLaneBasedObject
(LaneBasedObject laneBasedObject) Insert a laneBasedObject at the right place in the laneBasedObject list of this Lane.final void
Lane.removeLaneBasedObject
(LaneBasedObject laneBasedObject) Remove a laneBasedObject from the laneBasedObject list of this Lane. -
Uses of LaneBasedObject in org.opentrafficsim.road.network.lane.conflict
Classes in org.opentrafficsim.road.network.lane.conflict that implement LaneBasedObjectModifier and TypeClassDescriptionfinal class
Conflicts deal with traffic on different links/roads that need to consider each other as their paths may be in conflict spatially.class
Light-weight lane based object to indicate the end of a conflict. -
Uses of LaneBasedObject in org.opentrafficsim.road.network.lane.object
Classes in org.opentrafficsim.road.network.lane.object that implement LaneBasedObjectModifier and TypeClassDescriptionclass
An abstract implementation of the LaneBasedObject interface with the required fields being initialized and getters for those fields.class
A bus stop is a location on a lane.class
Distraction following a distance profile.class
Speed sign. -
Uses of LaneBasedObject in org.opentrafficsim.road.network.lane.object.detector
Classes in org.opentrafficsim.road.network.lane.object.detector that implement LaneBasedObjectModifier and TypeClassDescriptionclass
A detector is a lane-based object that can be triggered by a relative position of the GTU (e.g., front, back) when that relative position passes over the detector location on the lane.class
Detector, measuring a dynamic set of measurements typical for single- or dual-loop detectors.class
Detector that prints which GTU triggers it.class
A SinkDetector is a detector that deletes GTUs that hit it, if they comply to a predicate.class
Embedded detectors used by a TrafficLightDetector.Methods in org.opentrafficsim.road.network.lane.object.detector that return LaneBasedObjectModifier and TypeMethodDescriptionDirectionalOccupancyDetector.getLanePositionEntry()
Return the entry position of this DirectionalOccupancyDetector.DirectionalOccupancyDetector.getLanePositionExit()
Return the exit position of this DirectionalOccupancyDetector. -
Uses of LaneBasedObject in org.opentrafficsim.road.network.lane.object.trafficlight
Classes in org.opentrafficsim.road.network.lane.object.trafficlight that implement LaneBasedObject