Class TiledGraph
java.lang.Object
com.here.platform.location.inmemory.graph.TiledGraph
- All Implemented Interfaces:
com.here.platform.location.core.graph.DirectedGraph<Vertex,
,Edge> com.here.platform.location.core.graph.IncidenceGraph<Vertex,
Edge>
public class TiledGraph
extends Object
implements com.here.platform.location.core.graph.DirectedGraph<Vertex,Edge>
A Graph consisting of multiple
GraphTile
s.
param: tileById Used to retrieve the data tiles by their ID, if they exist
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Mixin trait forTiledGraph
objects that makes queryingoutEdgeIterator
oroutDegree
for a vertex whose tile is not part of the graph return empty instead of throwing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsEdge
(Edge edge) boolean
containsVertex
(Vertex vertex) scala.collection.Iterator<Edge>
edgeIterator
(Vertex sourceVertex, Vertex targetVertex) int
scala.collection.Iterator<Edge>
outEdgeIterator
(Vertex vertex) static <T> scala.runtime.Nothing$
throwKeyNotFound
(T key)
-
Constructor Details
-
TiledGraph
-
-
Method Details
-
throwKeyNotFound
public static <T> scala.runtime.Nothing$ throwKeyNotFound(T key) -
outEdgeIterator
-
outDegree
-
edgeIterator
-
source
-
target
-
containsVertex
-
containsEdge
-