| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LaneRecord<R extends LaneRecord<R>>
Interface representing a lane for search algorithms, in particular PerceptionIterable.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LaneStructureRecord
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Class and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Length |
UpstreamNeighborsIterable.getDistance(LaneBasedGTU 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 abstract Length |
AbstractPerceptionIterable.getDistance(U 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 |
UpstreamNeighborsIterable.getNext(LaneRecord<?> record,
Length position,
Integer 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,
Void counter)
Returns the next object(s) on the lane represented by the record.
|
| Constructor and 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,
GTU gtu,
RelativeLane lane,
boolean ignoreIfUpstream)
Constructor.
|
LaneBasedObjectIterable(LaneBasedGTU perceivingGtu,
Class<L> clazz,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
Route route)
Constructor.
|
UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
HeadwayGtuType headwayGtuType,
RelativeLane lane)
Constructor.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.