Class Profile

java.lang.Object
com.graphhopper.config.Profile

public class Profile extends Object
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 Details

    • Profile

      public Profile(String name)
    • Profile

      public Profile(Profile p)
  • Method Details

    • validateProfileName

      public static void validateProfileName(String profileName)
    • getName

      public String getName()
    • setName

      public Profile setName(String name)
    • getVehicle

      public String getVehicle()
    • setVehicle

      public Profile setVehicle(String vehicle)
    • getWeighting

      public String getWeighting()
    • setWeighting

      public Profile setWeighting(String weighting)
    • setCustomModel

      public Profile setCustomModel(CustomModel customModel)
    • getCustomModel

      public CustomModel getCustomModel()
    • isTurnCosts

      public boolean isTurnCosts()
    • setTurnCosts

      public Profile setTurnCosts(boolean turnCosts)
    • getHints

      public PMap getHints()
    • putHint

      public Profile putHint(String key, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getVersion

      public int getVersion()