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.
Mental mechanisms are a part of perception.
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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassAbstractPerceptionReiterable<O extends LaneBasedObject,P extends PerceivedObject, 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.classMultiLanePerceptionIterable<O extends LaneBasedObject,P extends PerceivedObject, U> Iterable class to search over multiple lanes.classPerceptionReiterable<O extends LaneBasedObject,P extends PerceivedObject, U> Standard implementation ofAbstractPerceptionReiterableuseful for most cases using an iterator overNavigatingIterable.Entryfrom theLaneStructure. -
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 TypeMethodDescriptionDefaultCaccSensors.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) Creates a perceived object from a GTU, downstream or upstream.PerceivedGtuType.AnticipationPerceivedGtuType.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) default PerceivedGtuPerceivedGtuType.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) Creates a perceived object from a GTU, downstream or upstream.Estimation.estimate(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) Estimate headway, speed and acceleration.default LengthEstimation.getDelayedDistance(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) Returns a delayed distance.default SpeedEstimation.getDelayedReferenceSpeed(LaneBasedGtu perceivingGtu, LaneBasedObject reference, Duration when) Returns the reference speed.default SpeedEstimation.getDelayedSpeedDifference(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Duration when) Returns a delayed speed difference (other minus reference speed). -
Uses of LaneBasedObject in org.opentrafficsim.road.gtu.lane.perception.mental
Methods in org.opentrafficsim.road.gtu.lane.perception.mental with parameters of type LaneBasedObjectModifier and TypeMethodDescriptionFactorEstimation.estimate(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) -
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(Length minimumPosition, Length maximumPosition) Retrieve the list of LaneBasedObjects of this Lane in the specified distance range.final List<LaneBasedObject>Lane.getObjectAhead(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(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 voidLane.addLaneBasedObject(LaneBasedObject laneBasedObject) Insert a laneBasedObject at the right place in the laneBasedObject list of this Lane.final voidLane.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 classConflicts deal with traffic on different links/roads that need to consider each other as their paths may be in conflict spatially.classLight-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 TypeClassDescriptionclassAn abstract implementation of the LaneBasedObject interface with the required fields being initialized and getters for those fields.classA bus stop is a location on a lane.classLocal distraction.classDistraction following a distance profile.classSpeed 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 TypeClassDescriptionclassA 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.classDetector, measuring a dynamic set of measurements typical for single- or dual-loop detectors.classDetector that prints which GTU triggers it.classA SinkDetector is a detector that deletes GTUs that hit it, if they comply to a predicate.classEmbedded 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