Package org.opentrafficsim.road.gtu.lane.perception
Implementation of lane-based perception for the GTU.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Interface Summary Interface Description LanePerception Interface for perception in a lane-based model.LaneRecord<R extends LaneRecord<R>> Interface representing a lane for search algorithms, in particular PerceptionIterable.LaneStructure Interface for lane structures.LaneStructureRecord Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.PerceptionCollectable<H extends Headway,U> Iterable that additionally provides support for PerceptionCollectors.PerceptionCollectable.PerceptionAccumulator<U,I> Accumulates an object one at a time in to an accumulating intermediate result.PerceptionCollectable.PerceptionCollector<C,U,I> Combination of an accumulator and a finalizer.PerceptionCollectable.PerceptionFinalizer<C,I> Translates the last intermediate result of an accumulator in to the collection output.PerceptionFactory Interface for perception initialization.PerceptionIterable<H extends Headway> Iterable set of elements, sorted close to far. -
Class Summary Class Description AbstractLanePerception The perception module of a GTU based on lanes.AbstractPerceptionIterable<H extends Headway,U,C> Abstract iterable that figures out how to find the next nearest object, including splits.AbstractPerceptionReiterable<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.CategoricalLanePerception Standard perception completely based on connected perception categories.DownstreamNeighborsIterable Iterable to find downstream GTU's.
The behavior of this search is slightly altered usingboolean ignoreIfUpstream
.FilteredIterable<T extends Headway> Returns only those elements that comply with the predicate.GTUTypeAssumptions Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.InfrastructureLaneChangeInfo Contains information by which drivers know when they need to leave a lane in order to be able to stay on the infrastructure and follow their route.LaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject> Iterable that searches downstream or upstream for a certain type of lane based object.LaneDirectionRecord A light-weight wrapper for LaneRecord search tools (PerceptionIterator).LaneStructure.Entry<T extends LaneBasedObject> Wrapper to hold lane-based object and it's distance.MultiLanePerceptionIterable<H extends Headway,U> Iterable class to search over multiple lanes.PerceptionCollectable.Intermediate<I> Wrapper of intermediate result with info for the iterator algorithm.PerceptionCollectable.UnderlyingDistance<U> Wrapper for object and its distance.PerceptionIterableSet<H extends Headway> Simple implementation ofPerceptionIterable
which wraps a set.RelativeLane Defines a lane relative to the current lane.RollingLaneStructure This data structure can clearly indicate the lane structure ahead of us, e.g.RollingLaneStructureRecord A LaneStructureRecord contains information about the lanes that can be accessed from this lane by a GTUType.SortedSetPerceptionIterable<H extends Headway> Deprecated. UpstreamNeighborsIterable Iterable to find upstream GTU's. -
Enum Summary Enum Description RollingLaneStructureRecord.RecordLink Link between records that defines the dependence of start position and hence how this is updated as the GTU moves.