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
GraphTiles.
param: tileById Used to retrieve the data tiles by their ID, if they exist
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceMixin trait forTiledGraphobjects that makes queryingoutEdgeIteratororoutDegreefor a vertex whose tile is not part of the graph return empty instead of throwing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsEdge(Edge edge) booleancontainsVertex(Vertex vertex) scala.collection.Iterator<Edge>edgeIterator(Vertex sourceVertex, Vertex targetVertex) intscala.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
-