Package org.opentrafficsim.ahfe
Class AbstractDelayedNeighborsPerception.NeighborsInfoType<T>
- java.lang.Object
-
- org.opentrafficsim.base.Type<AbstractDelayedPerceptionCategory.DelayedInfoType<T>>
-
- org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory.DelayedInfoType<T>
-
- org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception.NeighborsInfoType<T>
-
- Type Parameters:
T
- data type of info
- All Implemented Interfaces:
org.opentrafficsim.base.Identifiable
- Enclosing class:
- AbstractDelayedNeighborsPerception
public static final class AbstractDelayedNeighborsPerception.NeighborsInfoType<T> extends AbstractDelayedPerceptionCategory.DelayedInfoType<T>
Delayed information about the type of the neighbors.
-
-
Constructor Summary
Constructors Constructor Description NeighborsInfoType(String id)
Construct new info.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractDelayedNeighborsPerception.NeighborsInfoType<Boolean>
getBooleanType(String id)
Returns a (cached) info type for a sorted set of GTU's.static AbstractDelayedNeighborsPerception.NeighborsInfoType<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>>
getIterableType(String id)
Returns a (cached) info type for a sorted set of GTU's.static AbstractDelayedNeighborsPerception.NeighborsInfoType<SortedSet<HeadwayGTU>>
getSortedSetType(String id)
Returns a (cached) info type for a sorted set of GTU's.String
toString()
-
Methods inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory.DelayedInfoType
equals, getDelayParameter, getId, hashCode
-
-
-
-
Constructor Detail
-
NeighborsInfoType
public NeighborsInfoType(String id)
Construct new info.- Parameters:
id
- String; id
-
-
Method Detail
-
getSortedSetType
public static AbstractDelayedNeighborsPerception.NeighborsInfoType<SortedSet<HeadwayGTU>> getSortedSetType(String id)
Returns a (cached) info type for a sorted set of GTU's.- Parameters:
id
- String; id- Returns:
- info type
-
getIterableType
public static AbstractDelayedNeighborsPerception.NeighborsInfoType<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>> getIterableType(String id)
Returns a (cached) info type for a sorted set of GTU's.- Parameters:
id
- String; id- Returns:
- info type
-
getBooleanType
public static AbstractDelayedNeighborsPerception.NeighborsInfoType<Boolean> getBooleanType(String id)
Returns a (cached) info type for a sorted set of GTU's.- Parameters:
id
- String; id- Returns:
- info type
-
-