Class RoutingProfileManager
java.lang.Object
org.eclipse.mosaic.lib.routing.graphhopper.util.RoutingProfileManager
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all availableRoutingProfiles.com.graphhopper.routing.util.EncodingManagerReturns the actual encoding manager used by GraphHopper.getRoutingProfile(String vehicle) Returns the specificRoutingProfilewrapper ofEncodedValues required for the given transportation mode (e.g.
-
Constructor Details
-
RoutingProfileManager
-
-
Method Details
-
getAllProfiles
Returns all availableRoutingProfiles. -
getRoutingProfile
Returns the specificRoutingProfilewrapper ofEncodedValues 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.
-