Class Graphs
-
Constructor Summary
ConstructorsConstructorDescriptionGraphs
(OptimizedMapLayers optimizedMap) Creates aGraphs
from an Optimized Map for Location Library. -
Method Summary
Modifier and TypeMethodDescriptionforward()
Creates aDirectedGraph
that lazily loads data from the `routinggraph` layer of the Optimized Map for Location Library usingOptimizedMapLayers.routingGraph()
.static DirectedGraph<Vertex,
Edge> forward
(RoutingGraphLayer routingGraphLayer) static DirectedGraph<Vertex,
Edge> from
(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.reverse()
Creates the reversedDirectedGraph
which allows to navigate the topology backwards by flipping all edges.static DirectedGraph<Vertex,
Edge> reverse
(RoutingGraphLayer routingGraphLayer) static DirectedGraph<Vertex,
Edge> reversedFrom
(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew Graphs(optimizedMap).reverse()
.
-
Constructor Details
-
Graphs
Creates aGraphs
from an Optimized Map for Location Library.
-
-
Method Details
-
forward
Creates aDirectedGraph
that lazily loads data from the `routinggraph` layer of the Optimized Map for Location Library usingOptimizedMapLayers.routingGraph()
. -
reverse
Creates the reversedDirectedGraph
which allows to navigate the topology backwards by flipping all edges.A reversed graph is a
DirectedGraph
in which theDirectedGraph.getOutEdgeIterator(V)
method applied to aVertex
`A`, returns the edges that have `A` as a target in the forward graph.The returned vertices and edges are the same as the one returned from the forward graph and can be used directly to query vertex and edge
PropertyMap
s.The reversed graph is not offering the same performance as the forward graph.
-
from
@Deprecated public static DirectedGraph<Vertex,Edge> from(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew Graphs(optimizedMap).forward()
.Creates aDirectedGraph
that lazily loads data from the `routinggraph` layer of the Optimized Map for Location Library. -
reversedFrom
@Deprecated public static DirectedGraph<Vertex,Edge> reversedFrom(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew Graphs(optimizedMap).reverse()
.Creates the reversedDirectedGraph
which allows to navigate the topology backwards by flipping all edges.A reversed graph is a
DirectedGraph
in which theDirectedGraph.getOutEdgeIterator(V)
method applied to aVertex
`A`, returns the edges that have `A` as a target in the forward graph.The returned vertices and edges are the same as the one returned from the forward graph and can be used directly to query vertex and edge
PropertyMap
s.The reversed graph is not offering the same performance as the forward graph.
-
forward
-
reverse
-
new Graphs(optimizedMap).forward()
.