Class TiledUndirectedPropertyMap<T>
java.lang.Object
com.here.platform.location.inmemory.graph.TiledUndirectedPropertyMap<T>
- All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<Vertex,
T>
public class TiledUndirectedPropertyMap<T>
extends Object
implements com.here.platform.location.core.graph.PropertyMap<Vertex,T>
A property map for properties that do not depend on the direction of a vertex (segment properties).
See also UndirectedPropertyTile
for details on the data format used by this class.
- Note:
- Undirected (i.e. Segment) properties have the same value for both vertices
corresponding to a segment. Therefore, we can store a single value for both to reduce
memory usage.
param: tileById Used to retrieve the data tiles by their ID, if they exist
-
Constructor Summary
ConstructorsConstructorDescriptionTiledUndirectedPropertyMap
(scala.Function1<TileId, scala.Option<UndirectedPropertyTile<T>>> tileById) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.here.platform.location.core.graph.PropertyMap
apply$mcD$sp, apply$mcZ$sp
-
Constructor Details
-
TiledUndirectedPropertyMap
public TiledUndirectedPropertyMap(scala.Function1<TileId, scala.Option<UndirectedPropertyTile<T>>> tileById)
-
-
Method Details