Class EdgePropertyTile<T>
java.lang.Object
com.here.platform.location.inmemory.graph.EdgePropertyTile<T>
Contains the edge property data for a single tile.
EdgePropertyTile
relies on the set of EdgeIndex
values associated with the Edge
s in a tile.
In a tile, each Edge
has a different EdgeIndex
value, and, if #Edges
represents
the number of Edge
s, the value of an EdgeIndex
is between 0
and #Edges - 1
.
To save memory, EdgePropertyTile
stores the edge properties in an array of size #Edges
,
whose name is values
. For each Edge
e
, values(e.index.value)
contains
the property that applies to e
.
See also
GraphTile
for more information about the representation ofEdge
s in a tileTiledEdgePropertyMap
, which is aPropertyMap[Edge, T]
that retrieves edge attribute values from multipleEdgePropertyTile
s.
- Note:
- Although this object contains an Array, you should treat it as immutable.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EdgePropertyTile
-
-
Method Details
-
tileId
-
values
-