Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.LaneRecord
-
Packages that use LaneRecord Package Description org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU. -
-
Uses of LaneRecord in org.opentrafficsim.road.gtu.lane.perception
Classes in org.opentrafficsim.road.gtu.lane.perception with type parameters of type LaneRecord Modifier and Type Interface Description interface
LaneRecord<R extends LaneRecord<R>>
Interface representing a lane for search algorithms, in particular PerceptionIterable.Subinterfaces of LaneRecord in org.opentrafficsim.road.gtu.lane.perception Modifier and Type Interface Description interface
LaneStructureRecord
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.Classes in org.opentrafficsim.road.gtu.lane.perception that implement LaneRecord Modifier and Type Class Description class
LaneDirectionRecord
A light-weight wrapper for LaneRecord search tools (PerceptionIterator).class
RollingLaneStructureRecord
A LaneStructureRecord contains information about the lanes that can be accessed from this lane by a GTUType.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneRecord Modifier and Type Method Description protected abstract Length
AbstractPerceptionIterable. getDistance(U object, LaneRecord<?> record, Length position)
Returns the distance to the object.protected Length
DownstreamNeighborsIterable. getDistance(LaneBasedGTU object, LaneRecord<?> record, Length position)
Returns the distance to the object.protected Length
LaneBasedObjectIterable. getDistance(L object, LaneRecord<?> record, Length position)
Returns the distance to the object.protected Length
UpstreamNeighborsIterable. getDistance(LaneBasedGTU object, LaneRecord<?> record, Length position)
Returns the distance to the object.protected abstract AbstractPerceptionIterable.Entry
AbstractPerceptionIterable. getNext(LaneRecord<?> record, Length position, C counter)
Returns the next object(s) on the lane represented by the record.protected AbstractPerceptionIterable.Entry
DownstreamNeighborsIterable. getNext(LaneRecord<?> record, Length position, Integer counter)
Returns the next object(s) on the lane represented by the record.protected AbstractPerceptionIterable.Entry
LaneBasedObjectIterable. getNext(LaneRecord<?> record, Length position, Boolean counter)
Returns the next object(s) on the lane represented by the record.protected AbstractPerceptionIterable.Entry
UpstreamNeighborsIterable. getNext(LaneRecord<?> record, Length position, Integer counter)
Returns the next object(s) on the lane represented by the record.(package private) boolean
AbstractPerceptionIterable. isOnRoute(LaneRecord<?> record)
Returns whether the record is on the route.Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneRecord Constructor Description AbstractPerceptionIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, boolean downstream, Length maxDistance, RelativePosition relativePosition, Route route)
Constructor.DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane, boolean ignoreIfUpstream)
Constructor.LaneBasedObjectIterable(LaneBasedGTU perceivingGtu, Class<L> clazz, LaneRecord<?> root, Length initialPosition, boolean downstream, Length maxDistance, RelativePosition relativePosition, Route route)
Constructor.UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane)
Constructor.
-