public class Isochrone
extends com.graphhopper.routing.AbstractRoutingAlgorithm
| Constructor and Description |
|---|
Isochrone(com.graphhopper.storage.Graph g,
com.graphhopper.routing.weighting.Weighting weighting,
boolean reverseFlow) |
| Modifier and Type | Method and Description |
|---|---|
com.graphhopper.routing.Path |
calcPath(int from,
int to) |
protected com.graphhopper.routing.Path |
extractPath() |
protected boolean |
finished() |
String |
getName() |
int |
getVisitedNodes() |
List<Set<Integer>> |
search(int from,
int bucketCount) |
List<List<Double[]>> |
searchGPS(int from,
int bucketCount) |
void |
setDistanceLimit(double limit)
Distance limit in meter
|
void |
setTimeLimit(double limit)
Time limit in seconds
|
public Isochrone(com.graphhopper.storage.Graph g,
com.graphhopper.routing.weighting.Weighting weighting,
boolean reverseFlow)
public com.graphhopper.routing.Path calcPath(int from,
int to)
public void setTimeLimit(double limit)
public void setDistanceLimit(double limit)
protected boolean finished()
finished in class com.graphhopper.routing.AbstractRoutingAlgorithmprotected com.graphhopper.routing.Path extractPath()
extractPath in class com.graphhopper.routing.AbstractRoutingAlgorithmpublic String getName()
getName in interface com.graphhopper.routing.RoutingAlgorithmgetName in class com.graphhopper.routing.AbstractRoutingAlgorithmpublic int getVisitedNodes()
Copyright © 2012–2018. All rights reserved.