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

  • Constructor Details

    • TiledGraph

      public TiledGraph(scala.Function1<TileId,scala.Option<GraphTile>> tileById)
  • Method Details

    • throwKeyNotFound

      public static <T> scala.runtime.Nothing$ throwKeyNotFound(T key)
    • outEdgeIterator

      public scala.collection.Iterator<Edge> outEdgeIterator(Vertex vertex)
      Specified by:
      outEdgeIterator in interface com.here.platform.location.core.graph.DirectedGraph<Vertex,Edge>
    • outDegree

      public int outDegree(Vertex vertex)
      Specified by:
      outDegree in interface com.here.platform.location.core.graph.DirectedGraph<Vertex,Edge>
    • edgeIterator

      public scala.collection.Iterator<Edge> edgeIterator(Vertex sourceVertex, Vertex targetVertex)
      Specified by:
      edgeIterator in interface com.here.platform.location.core.graph.DirectedGraph<Vertex,Edge>
    • source

      public Vertex source(Edge edge)
      Specified by:
      source in interface com.here.platform.location.core.graph.IncidenceGraph<Vertex,Edge>
    • target

      public Vertex target(Edge edge)
      Specified by:
      target in interface com.here.platform.location.core.graph.IncidenceGraph<Vertex,Edge>
    • containsVertex

      public boolean containsVertex(Vertex vertex)
      Specified by:
      containsVertex in interface com.here.platform.location.core.graph.IncidenceGraph<Vertex,Edge>
    • containsEdge

      public boolean containsEdge(Edge edge)
      Specified by:
      containsEdge in interface com.here.platform.location.core.graph.IncidenceGraph<Vertex,Edge>