Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.categories.neighbors.HeadwayGtuType
-
Packages that use HeadwayGtuType 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. -
-
Uses of HeadwayGtuType in org.opentrafficsim.road.gtu.lane.perception
Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type HeadwayGtuType Constructor Description DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane, boolean ignoreIfUpstream)
Constructor.UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane)
Constructor. -
Uses of HeadwayGtuType in org.opentrafficsim.road.gtu.lane.perception.categories
Constructors in org.opentrafficsim.road.gtu.lane.perception.categories with parameters of type HeadwayGtuType Constructor Description DirectIntersectionPerception(LanePerception perception, HeadwayGtuType headwayGtuType)
-
Uses of HeadwayGtuType in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Classes in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that implement HeadwayGtuType Modifier and Type Class Description class
DefaultCaccSensors
Default CACC sensors.static class
HeadwayGtuType.PerceivedHeadwayGtuType
Class for perceived neighbors.Fields in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors declared as HeadwayGtuType Modifier and Type Field 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.Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors with parameters of type HeadwayGtuType Modifier and Type Method Description static SortedSet<HeadwayGTU>
NeighborsUtil. perceive(SortedSet<NeighborsUtil.DistanceGTU> base, HeadwayGtuType headwayGtuType, LaneBasedGTU perceivingGtu, boolean downstream)
Translation from a set ofDistanceGTU
's, to a sorted set ofHeadwayGTU
's.Constructors in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors with parameters of type HeadwayGtuType Constructor Description AccPerception(LanePerception perception, HeadwayGtuType sensors)
Constructor using specified sensors.CaccPerception(LanePerception perception, HeadwayGtuType sensors)
Constructor using specified sensors.DirectNeighborsPerception(LanePerception perception, HeadwayGtuType headwayGtuType)
DirectNeighborsPerception(LanePerception perception, HeadwayGtuType headwayGtuType, HeadwayGtuType headwayGtuTypeGap)
-
Uses of HeadwayGtuType in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type HeadwayGtuType Modifier and Type Method 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.
-