Package | Description |
---|---|
com.graphhopper | |
com.graphhopper.routing | |
com.graphhopper.routing.lm |
Modifier and Type | Method and Description |
---|---|
Map<String,LandmarkStorage> |
GraphHopper.getLandmarks() |
Modifier and Type | Method and Description |
---|---|
protected Router |
GraphHopper.doCreateRouter(BaseGraph baseGraph,
EncodingManager encodingManager,
LocationIndex locationIndex,
Map<String,Profile> profilesByName,
PathDetailsBuilderFactory pathBuilderFactory,
TranslationMap trMap,
RouterConfig routerConfig,
WeightingFactory weightingFactory,
Map<String,RoutingCHGraph> chGraphs,
Map<String,LandmarkStorage> landmarks) |
Constructor and Description |
---|
Router(BaseGraph graph,
EncodingManager encodingManager,
LocationIndex locationIndex,
Map<String,Profile> profilesByName,
PathDetailsBuilderFactory pathDetailsBuilderFactory,
TranslationMap translationMap,
RouterConfig routerConfig,
WeightingFactory weightingFactory,
Map<String,RoutingCHGraph> chGraphs,
Map<String,LandmarkStorage> landmarks) |
Modifier and Type | Method and Description |
---|---|
LandmarkStorage |
PrepareLandmarks.getLandmarkStorage() |
LandmarkStorage |
LandmarkStorage.setLandmarkSuggestions(List<LandmarkSuggestion> landmarkSuggestions)
This method forces the landmark preparation to skip the landmark search and uses the specified landmark list instead.
|
LandmarkStorage |
LandmarkStorage.setMaximumWeight(double maxWeight)
Specify the maximum possible value for your used area.
|
Modifier and Type | Method and Description |
---|---|
List<LandmarkStorage> |
LMPreparationHandler.load(List<LMConfig> lmConfigs,
BaseGraph baseGraph,
EncodedValueLookup encodedValueLookup)
Loads the landmark data for all given configs if available.
|
Modifier and Type | Method and Description |
---|---|
static LMApproximator |
LMApproximator.forLandmarks(Graph g,
LandmarkStorage lms,
int activeLM) |
Constructor and Description |
---|
LMApproximator(Graph graph,
Weighting weighting,
int maxBaseNodes,
LandmarkStorage lms,
int activeCount,
double factor,
boolean reverse) |
LMRoutingAlgorithmFactory(LandmarkStorage lms) |
Copyright © 2012–2022. All rights reserved.