| Package | Description |
|---|---|
| com.graphhopper.routing | |
| com.graphhopper.routing.querygraph | |
| com.graphhopper.routing.util | |
| com.graphhopper.storage.index |
| Modifier and Type | Method and Description |
|---|---|
static List<Snap> |
ViaRouting.lookup(EncodedValueLookup lookup,
List<GHPoint> points,
Weighting weighting,
LocationIndex locationIndex,
List<String> snapPreventions,
List<String> pointHints) |
static List<Snap> |
RoundTripRouting.lookup(List<GHPoint> points,
Weighting weighting,
LocationIndex locationIndex,
RoundTripRouting.Params params) |
| Modifier and Type | Method and Description |
|---|---|
static ViaRouting.Result |
ViaRouting.calcPaths(List<GHPoint> points,
QueryGraph queryGraph,
List<Snap> snaps,
BooleanEncodedValue accessEnc,
PathCalculator pathCalculator,
List<String> curbsides,
boolean forceCurbsides,
List<Double> headings,
boolean passThrough) |
static RoundTripRouting.Result |
RoundTripRouting.calcPaths(List<Snap> snaps,
FlexiblePathCalculator pathCalculator) |
| Modifier and Type | Method and Description |
|---|---|
static QueryGraph |
QueryGraph.create(Graph graph,
Snap snap) |
static QueryGraph |
QueryGraph.create(Graph graph,
Snap fromSnap,
Snap toSnap) |
| Modifier and Type | Method and Description |
|---|---|
static QueryGraph |
QueryGraph.create(Graph graph,
List<Snap> snaps) |
| Modifier and Type | Method and Description |
|---|---|
List<Snap> |
TestAlgoCollector.OneRun.getList(LocationIndex idx,
EdgeFilter edgeFilter) |
| Modifier and Type | Method and Description |
|---|---|
TestAlgoCollector |
TestAlgoCollector.assertDistance(EncodingManager encodingManager,
TestAlgoCollector.AlgoHelperEntry algoEntry,
List<Snap> queryList,
TestAlgoCollector.OneRun oneRun) |
| Modifier and Type | Method and Description |
|---|---|
Snap |
LocationIndex.findClosest(double lat,
double lon,
EdgeFilter edgeFilter)
This method returns the closest Snap for the specified location (lat, lon) and only if
the filter accepts the edge as valid candidate (e.g.
|
Snap |
Location2IDFullWithEdgesIndex.findClosest(double queryLat,
double queryLon,
EdgeFilter filter) |
Snap |
Location2IDFullIndex.findClosest(double queryLat,
double queryLon,
EdgeFilter edgeFilter) |
Snap |
LocationIndexTree.findClosest(double queryLat,
double queryLon,
EdgeFilter edgeFilter) |
| Modifier and Type | Method and Description |
|---|---|
List<Snap> |
LocationIndexTree.findNClosest(double queryLat,
double queryLon,
EdgeFilter edgeFilter,
double radius)
Returns all edges that are within the specified radius around the queried position.
|
Copyright © 2012–2021. All rights reserved.