Class RoutingProfileManager

java.lang.Object
org.eclipse.mosaic.lib.routing.graphhopper.util.RoutingProfileManager

public class RoutingProfileManager extends Object
In GraphHopper, any data for edges, nodes, and turns, are stored with as low overhead as possible. To achieve this, EncodedValues to encode and decode any data. This class, encapsulates the initialization and access to single EncodedValues, making it easier to use them in code. Each vehicle has a different set of EncodedValue instances, thus they are bundled in each RoutingProfile which this class manages. It also provides access to the EncodingManager in general, which GraphHopper needs at several places.
  • Constructor Details

  • Method Details

    • getAllProfiles

      public Collection<RoutingProfile> getAllProfiles()
      Returns all available RoutingProfiles.
    • getRoutingProfile

      public RoutingProfile getRoutingProfile(String vehicle)
      Returns the specific RoutingProfile wrapper of EncodedValues required for the given transportation mode (e.g. "car", "bike").
    • getEncodingManager

      public com.graphhopper.routing.util.EncodingManager getEncodingManager()
      Returns the actual encoding manager used by GraphHopper.