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 TypeMethodDescriptionboolean
getHints()
getName()
int
int
hashCode()
boolean
setCustomModel
(CustomModel customModel) setTurnCostsConfig
(TurnCostsConfig turnCostsConfig) setWeighting
(String weighting) toString()
static void
validateProfileName
(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()
-