Package com.graphhopper.config
Class Profile
java.lang.Object
com.graphhopper.config.Profile
Corresponds to an entry of the `profiles` section in `config.yml` and specifies the properties of a routing profile.
The name used here needs to be used when setting up CH/LM preparations. See also the documentation in
`config-example.yml'
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHints()getName()intinthashCode()booleansetCustomModel(CustomModel customModel) setTurnCosts(boolean turnCosts) setVehicle(String vehicle) setWeighting(String weighting) toString()static voidvalidateProfileName(String profileName)
-
Constructor Details
-
Profile
-
Profile
-
-
Method Details
-
validateProfileName
-
getName
-
setName
-
getVehicle
-
setVehicle
-
getWeighting
-
setWeighting
-
setCustomModel
-
getCustomModel
-
isTurnCosts
public boolean isTurnCosts() -
setTurnCosts
-
getHints
-
putHint
-
toString
-
equals
-
hashCode
public int hashCode() -
getVersion
public int getVersion()
-