| 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 shall be supported by this GraphHopper instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected EncodingManager |
GraphHopper.buildEncodingManager(Map<String,String> vehiclesByName,
List<String> encodedValueStrings,
boolean withUrbanDensity,
Collection<Profile> profiles) |
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) |
static Map<String,String> |
GraphHopper.getVehiclesByName(String vehiclesStr,
Collection<Profile> profiles) |
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 | Field and Description |
|---|---|
protected Profile |
Router.Solver.profile |
| Modifier and Type | Method and Description |
|---|---|
protected Profile |
Router.Solver.getProfile() |
| Modifier and Type | Method and Description |
|---|---|
Weighting |
DefaultWeightingFactory.createWeighting(Profile profile,
PMap requestHints,
boolean disableTurnCosts) |
Weighting |
WeightingFactory.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
| 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) |
Solver(GHRequest request,
Map<String,Profile> profilesByName,
RouterConfig routerConfig,
EncodedValueLookup lookup) |
| Modifier and Type | Class and Description |
|---|---|
class |
CustomProfile |
| Constructor and Description |
|---|
CustomProfile(Profile profile) |
Copyright © 2012–2022. All rights reserved.