| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception.categories.neighbors |
Contains perception categories to perceive neighbors.
|
| Modifier and Type | Method and Description |
|---|---|
static SortedSet<NeighborsUtil.DistanceGTU> |
NeighborsUtil.getFirstDownstreamGTUs(LaneStructureRecord startRecord,
RelativePosition egoRelativePosition,
RelativePosition egoFrontPosition,
RelativePosition.TYPE otherRelativePosition,
Time now)
Returns a set of first leaders per branch, relative to given relative position.
|
static SortedSet<NeighborsUtil.DistanceGTU> |
NeighborsUtil.getFirstUpstreamGTUs(LaneStructureRecord startRecord,
RelativePosition egoRelativePosition,
RelativePosition egoRearPosition,
RelativePosition.TYPE otherRelativePosition,
Time now)
Returns a set of first followers per branch, relative to given relative position.
|
| Modifier and Type | Method and Description |
|---|---|
int |
NeighborsUtil.DistanceGTU.compareTo(NeighborsUtil.DistanceGTU o) |
| Modifier and Type | Method and Description |
|---|---|
static SortedSet<HeadwayGTU> |
NeighborsUtil.perceive(SortedSet<NeighborsUtil.DistanceGTU> base,
HeadwayGtuType headwayGtuType,
LaneBasedGTU perceivingGtu,
boolean downstream)
Translation from a set of
DistanceGTU's, to a sorted set of HeadwayGTU's. |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.