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:
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(java.lang.String id)Construct new info.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractDelayedNeighborsPerception.NeighborsInfoType<java.lang.Boolean>getBooleanType(java.lang.String id)Returns a (cached) info type for a sorted set of GTU's.static AbstractDelayedNeighborsPerception.NeighborsInfoType<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>>getIterableType(java.lang.String id)Returns a (cached) info type for a sorted set of GTU's.static AbstractDelayedNeighborsPerception.NeighborsInfoType<java.util.SortedSet<HeadwayGTU>>getSortedSetType(java.lang.String id)Returns a (cached) info type for a sorted set of GTU's.java.lang.StringtoString()-
Methods inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory.DelayedInfoType
equals, getDelayParameter, getId, hashCode
-
-
-
-
Method Detail
-
getSortedSetType
public static AbstractDelayedNeighborsPerception.NeighborsInfoType<java.util.SortedSet<HeadwayGTU>> getSortedSetType(java.lang.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(java.lang.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<java.lang.Boolean> getBooleanType(java.lang.String id)
Returns a (cached) info type for a sorted set of GTU's.- Parameters:
id- String; id- Returns:
- info type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-