| Modifier and Type | Method and Description |
|---|---|
protected ChangeGraphHelper |
GraphHopper.createChangeGraphHelper(Graph graph,
LocationIndex locationIndex) |
Weighting |
GraphHopper.createTurnWeighting(Graph graph,
Weighting weighting,
TraversalMode tMode)
Potentially wraps the specified weighting into a TurnWeighting instance.
|
Weighting |
GraphHopper.createWeighting(HintsMap hintsMap,
FlagEncoder encoder,
Graph graph)
Based on the hintsMap and the specified encoder a Weighting instance can be
created.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryGraph
A class which is used to query the underlying graph with real GPS points.
|
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
Path.graph |
protected Graph |
AbstractRoutingAlgorithm.graph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
QueryGraph.copyTo(Graph g) |
Graph |
QueryGraph.getBaseGraph() |
| Modifier and Type | Method and Description |
|---|---|
Graph |
QueryGraph.copyTo(Graph g) |
RoutingAlgorithm |
RoutingAlgorithmFactorySimple.createAlgo(Graph g,
AlgorithmOptions opts) |
RoutingAlgorithm |
RoutingAlgorithmFactory.createAlgo(Graph g,
AlgorithmOptions opts)
This method creates an algorithm out of this factory based on the specified opts and graph.
|
| Modifier and Type | Method and Description |
|---|---|
RoutingAlgorithm |
PrepareContractionHierarchies.createAlgo(Graph graph,
AlgorithmOptions opts) |
| Constructor and Description |
|---|
Path4CH(Graph routingGraph,
Graph baseGraph,
Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
RoutingAlgorithm |
LMAlgoFactoryDecorator.LMRAFactory.createAlgo(Graph g,
AlgorithmOptions opts) |
RoutingAlgorithm |
PrepareLandmarks.getDecoratedAlgorithm(Graph qGraph,
RoutingAlgorithm algo,
AlgorithmOptions opts) |
| Constructor and Description |
|---|
LMApproximator(Graph graph,
int maxBaseNodes,
LandmarkStorage lms,
int activeCount,
double factor,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
TestAlgoCollector.AlgoHelperEntry.getForQueryGraph() |
| Constructor and Description |
|---|
AlgoHelperEntry(Graph g,
AlgorithmOptions opts,
LocationIndex idx,
String expectedAlgo) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CHGraph
Extended graph interface which supports Contraction Hierarchies.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CHGraphImpl
A Graph implementation necessary for Contraction Hierarchies.
|
class |
GraphHopperStorage
This class manages all storage related methods and delegates the calls to the associated graphs.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Graph> |
GraphHopperStorage.getGraph(Class<T> clazz) |
<T extends Graph> |
GraphHopperStorage.getGraph(Class<T> clazz,
Weighting weighting)
This method returns the routing graph for the specified weighting, could be potentially
filled with shortcuts.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphHopperStorage.copyTo(Graph g) |
Graph |
Graph.copyTo(Graph g)
Copy this Graph into the specified Graph g.
|
Graph |
CHGraphImpl.copyTo(Graph g) |
Graph |
GraphHopperStorage.getBaseGraph() |
Graph |
Graph.getBaseGraph() |
Graph |
CHGraphImpl.getBaseGraph() |
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphHopperStorage.copyTo(Graph g) |
Graph |
Graph.copyTo(Graph g)
Copy this Graph into the specified Graph g.
|
Graph |
CHGraphImpl.copyTo(Graph g) |
void |
TurnCostExtension.init(Graph graph,
Directory dir) |
void |
GraphExtension.init(Graph graph,
Directory dir)
initializes the extended storage by giving the base graph
|
void |
GraphExtension.NoOpExtension.init(Graph graph,
Directory dir) |
| Constructor and Description |
|---|
BlockArea(Graph g) |
GraphEdgeIdFinder(Graph graph,
LocationIndex locationIndex) |
| Constructor and Description |
|---|
ChangeGraphHelper(Graph graph,
LocationIndex locationIndex) |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
LocationIndexTree.graph |
| Constructor and Description |
|---|
Location2IDFullIndex(Graph g) |
Location2IDFullWithEdgesIndex(Graph g) |
LocationIndexTree(Graph g,
Directory dir) |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
GHUtility.copyTo(Graph fromGraph,
Graph toGraph) |
static Graph |
GHUtility.shuffle(Graph g,
Graph sortedGraph) |
static Graph |
GHUtility.sortDFS(Graph g,
Graph sortedGraph)
Sorts the graph according to depth-first search traversal.
|
| Modifier and Type | Method and Description |
|---|---|
static Graph |
GHUtility.copyTo(Graph fromGraph,
Graph toGraph) |
static int |
GHUtility.getAdjNode(Graph g,
int edge,
int adjNode) |
static EdgeIteratorState |
GHUtility.getEdge(Graph graph,
int base,
int adj) |
static String |
GHUtility.getNodeInfo(Graph g,
int nodeId,
EdgeFilter filter) |
static List<String> |
GHUtility.getProblems(Graph g)
This method could throw exception if uncatched problems like index out of bounds etc
|
static void |
GHUtility.printEdgeInfo(Graph g,
FlagEncoder encoder) |
static void |
GHUtility.printInfo(Graph g,
int startNode,
int counts,
EdgeFilter filter) |
static Graph |
GHUtility.shuffle(Graph g,
Graph sortedGraph) |
static Graph |
GHUtility.sortDFS(Graph g,
Graph sortedGraph)
Sorts the graph according to depth-first search traversal.
|
Copyright © 2012–2018. All rights reserved.