| Package | Description |
|---|---|
| com.graphhopper | |
| com.graphhopper.config | |
| com.graphhopper.routing | |
| com.graphhopper.routing.weighting.custom |
| Modifier and Type | Method and Description |
|---|---|
Profile |
GraphHopper.getProfile(String profileName)
Returns the profile for the given profile name, or null if it does not exist
|
| Modifier and Type | Method and Description |
|---|---|
List<Profile> |
GraphHopperConfig.getProfiles() |
List<Profile> |
GraphHopper.getProfiles() |
| Modifier and Type | Method and Description |
|---|---|
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints) |
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
GraphHopper |
GraphHopper.setProfiles(Profile... profiles)
Sets the routing profiles that can be used for CH/LM preparation.
|
| Modifier and Type | Method and Description |
|---|---|
GraphHopperConfig |
GraphHopperConfig.setProfiles(List<Profile> profiles) |
GraphHopper |
GraphHopper.setProfiles(List<Profile> profiles) |
| Modifier and Type | Method and Description |
|---|---|
Profile |
Profile.putHint(String key,
Object value) |
Profile |
Profile.setName(String name) |
Profile |
Profile.setTurnCosts(boolean turnCosts) |
Profile |
Profile.setVehicle(String vehicle) |
Profile |
Profile.setWeighting(String weighting) |
| Modifier and Type | Method and Description |
|---|---|
Profile |
ProfileResolver.resolveProfile(PMap hints) |
Profile |
ProfileResolver.selectProfileCH(PMap hintsMap) |
Profile |
ProfileResolver.selectProfileLM(PMap hintsMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ProfileResolver.chProfileMatchesHints(Profile p,
PMap hintsMap) |
Weighting |
WeightingFactory.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
Weighting |
DefaultWeightingFactory.createWeighting(Profile profile,
PMap requestHints,
boolean disableTurnCosts) |
protected boolean |
ProfileResolver.lmProfileMatchesHints(Profile p,
PMap hints) |
protected boolean |
ProfileResolver.profileMatchesHints(Profile p,
PMap hints) |
protected GHResponse |
Router.routeAlt(GHRequest request,
AlgorithmOptions algoOpts,
Weighting weighting,
Profile profile,
boolean passThrough,
boolean forceCurbsides,
boolean disableCH,
boolean disableLM) |
protected GHResponse |
Router.routeRoundTrip(GHRequest request,
AlgorithmOptions algoOpts,
Weighting weighting,
Profile profile,
boolean disableLM) |
protected GHResponse |
Router.routeVia(GHRequest request,
AlgorithmOptions algoOpts,
Weighting weighting,
Profile profile,
boolean passThrough,
boolean forceCurbsides,
boolean disableCH,
boolean disableLM) |
| Constructor and Description |
|---|
ProfileResolver(EncodingManager encodingManager,
List<Profile> profiles,
List<CHProfile> chProfiles,
List<LMProfile> lmProfiles) |
Router(GraphHopperStorage ghStorage,
LocationIndex locationIndex,
Map<String,Profile> profilesByName,
PathDetailsBuilderFactory pathDetailsBuilderFactory,
TranslationMap translationMap,
RouterConfig routerConfig,
WeightingFactory weightingFactory,
Map<String,CHGraph> chGraphs,
Map<String,LandmarkStorage> landmarks) |
| Modifier and Type | Class and Description |
|---|---|
class |
CustomProfile |
| Constructor and Description |
|---|
CustomProfile(Profile profile) |
Copyright © 2012–2021. All rights reserved.