| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
| org.opentrafficsim.road.gtu.lane.perception.categories |
Categories define a set of perceivable information.
|
| org.opentrafficsim.road.gtu.lane.perception.categories.neighbors |
Contains perception categories to perceive neighbors.
|
| org.opentrafficsim.road.network.lane.conflict |
Contains classes describing intersection conflicts.
|
| Constructor and Description |
|---|
DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
HeadwayGtuType headwayGtuType,
GTU gtu,
RelativeLane lane,
boolean ignoreIfUpstream)
Constructor.
|
UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
HeadwayGtuType headwayGtuType,
RelativeLane lane)
Constructor.
|
| Constructor and Description |
|---|
DirectIntersectionPerception(LanePerception perception,
HeadwayGtuType headwayGtuType) |
| Modifier and Type | Class and Description |
|---|---|
static class |
HeadwayGtuType.PerceivedHeadwayGtuType
Class for perceived neighbors.
|
| Modifier and Type | Field and Description |
|---|---|
static HeadwayGtuType |
HeadwayGtuType.COPY
Info regarding the GTU is copied.
|
static HeadwayGtuType |
HeadwayGtuType.WRAP
The GTU is wrapped, and info is taken directly from it.
|
| 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. |
| Constructor and Description |
|---|
DirectNeighborsPerception(LanePerception perception,
HeadwayGtuType headwayGtuType) |
HistoricalNeighborsPerception(LanePerception perception,
HeadwayGtuType headwayGtuType) |
HistoricalNeighborsPerception(LanePerception perception,
int nFollowers,
int nLeaders,
HeadwayGtuType headwayGtuType) |
| Modifier and Type | Method and Description |
|---|---|
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> |
Conflict.getDownstreamGtus(LaneBasedGTU perceivingGtu,
HeadwayGtuType headwayGtuType,
Length visibility)
Provides the downstream GTUs.
|
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> |
Conflict.getUpstreamGtus(LaneBasedGTU perceivingGtu,
HeadwayGtuType headwayGtuType,
Length visibility)
Provides the upstream GTUs.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.