Uses of Interface
org.opentrafficsim.road.network.lane.object.LaneBasedObject
Package
Description
Implementation of lane-based perception for the GTU.
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.perception
Modifier and TypeClassDescriptionclass
LaneBasedObjectIterable<H extends Headway,
L extends LaneBasedObject> Iterable that searches downstream or upstream for a certain type of lane based object. -
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane.perception.structure
Modifier and TypeMethodDescription<T extends LaneBasedObject>
Iterable<LaneStructure.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<LaneStructure.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
Modifier 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.Modifier 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
Modifier 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
Modifier 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
Modifier 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.Modifier 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