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'
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHints()getName()intinthashCode()booleansetCustomModel(CustomModel customModel) setTurnCostsConfig(TurnCostsConfig turnCostsConfig) setWeighting(String weighting) toString()static voidvalidateProfileName(String profileName)
-
Constructor Details
-
Profile
-
Profile
-
-
Method Details
-
validateProfileName
-
getName
-
setName
-
setTurnCostsConfig
-
getTurnCostsConfig
-
getWeighting
-
setWeighting
-
setCustomModel
-
getCustomModel
-
hasTurnCosts
public boolean hasTurnCosts() -
getHints
-
putHint
-
toString
-
equals
-
hashCode
public int hashCode() -
getVersion
public int getVersion()
-