Package | Description |
---|---|
com.graphhopper.routing.querygraph | |
com.graphhopper.routing.template |
Modifier and Type | Method and Description |
---|---|
static QueryGraph |
QueryGraph.lookup(Graph graph,
List<QueryResult> queryResults) |
static QueryGraph |
QueryGraph.lookup(Graph graph,
QueryResult qr) |
static QueryGraph |
QueryGraph.lookup(Graph graph,
QueryResult fromQR,
QueryResult toQR) |
QueryGraph |
QueryGraph.setUseEdgeExplorerCache(boolean useEECache)
This method is an experimental feature to reduce memory and CPU resources if there are many
locations ("hundreds") for one QueryGraph.
|
Modifier and Type | Method and Description |
---|---|
List<Path> |
ViaRoutingTemplate.calcPaths(QueryGraph queryGraph,
RoutingAlgorithmFactory algoFactory,
AlgorithmOptions algoOpts,
FlagEncoder encoder) |
List<Path> |
AlternativeRoutingTemplate.calcPaths(QueryGraph queryGraph,
RoutingAlgorithmFactory algoFactory,
AlgorithmOptions algoOpts,
FlagEncoder encoder) |
List<Path> |
RoutingTemplate.calcPaths(QueryGraph queryGraph,
RoutingAlgorithmFactory algoFactory,
AlgorithmOptions algoOpts,
FlagEncoder encoder)
This method returns a list of Path objects which then can be merged to serve one route with
via points or multiple alternative paths.
|
List<Path> |
RoundTripRoutingTemplate.calcPaths(QueryGraph queryGraph,
RoutingAlgorithmFactory algoFactory,
AlgorithmOptions algoOpts,
FlagEncoder encoder) |
Copyright © 2012–2019. All rights reserved.