public interface RoutingCHGraph
Modifier and Type | Method and Description |
---|---|
void |
close() |
RoutingCHEdgeExplorer |
createInEdgeExplorer()
Traverses the base edges and shortcuts at a given node.
|
RoutingCHEdgeExplorer |
createOutEdgeExplorer() |
Graph |
getBaseGraph() |
RoutingCHEdgeIteratorState |
getEdgeIteratorState(int chEdge,
int adjNode) |
int |
getEdges() |
int |
getLevel(int node) |
int |
getNodes() |
int |
getShortcuts() |
double |
getTurnWeight(int inEdge,
int viaNode,
int outEdge) |
Weighting |
getWeighting() |
boolean |
hasTurnCosts() |
boolean |
isEdgeBased() |
int getNodes()
int getEdges()
int getShortcuts()
RoutingCHEdgeExplorer createInEdgeExplorer()
RoutingCHEdgeExplorer createOutEdgeExplorer()
RoutingCHEdgeIteratorState getEdgeIteratorState(int chEdge, int adjNode)
int getLevel(int node)
double getTurnWeight(int inEdge, int viaNode, int outEdge)
Graph getBaseGraph()
Graph
or a QueryGraph
on top of the
base graph
todo: maybe it would be better to remove this method and use a direct reference to the base graph when it is
neededboolean hasTurnCosts()
boolean isEdgeBased()
Weighting getWeighting()
void close()
Copyright © 2012–2022. All rights reserved.