-
- All Implemented Interfaces:
public class GraphHopperOptions.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>graphHopperAlgorithmsprivate final List<String>graphHopperVehiclesprivate final List<String>graphHopperWeightingsprivate final List<Profile>allProfilesprivate final GraphHopperOptionsdefaultOptionsprivate final EncodingManagerencodingManagerpublic final static GraphHopperOptions.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GraphHopperOptionsoptionsFor(String vehicle, String weighting, String algorithm)Retrieves or creates the set of options for the required vehicle (default: foot), weighting (default: fastest), and algorithm (default: dijstrabi). final GraphHopperOptionsoptionsFor(String profile, String algorithm)Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi). final GraphHopperOptionsoptionsFor(String profile)Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi). final GraphHopperOptionsoptionsFor()Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi). final List<String>getGraphHopperAlgorithms()All the non-abstract subclasses of RoutingAlgorithm available in the runtime. final List<String>getGraphHopperVehicles()All the non-abstract subclasses of FlagEncoder available in the runtime. final List<String>getGraphHopperWeightings()All the non-abstract subclasses of Weighting available in the runtime. final List<Profile>getAllProfiles()All the available profiles for GraphHopper navigation. final GraphHopperOptionsgetDefaultOptions()Default GraphHopperOptions: foot as vehicle, fastest as weighting, and dijkstrabi as algorithm. final EncodingManagergetEncodingManager()Collection of the available EncodingManagers in GraphHopper. -
-
Method Detail
-
optionsFor
final GraphHopperOptions optionsFor(String vehicle, String weighting, String algorithm)
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor(String profile, String algorithm)
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor(String profile)
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor()
-
getGraphHopperAlgorithms
final List<String> getGraphHopperAlgorithms()
All the non-abstract subclasses of RoutingAlgorithm available in the runtime.
-
getGraphHopperVehicles
final List<String> getGraphHopperVehicles()
All the non-abstract subclasses of FlagEncoder available in the runtime.
-
getGraphHopperWeightings
final List<String> getGraphHopperWeightings()
All the non-abstract subclasses of Weighting available in the runtime.
-
getAllProfiles
final List<Profile> getAllProfiles()
All the available profiles for GraphHopper navigation.
-
getDefaultOptions
final GraphHopperOptions getDefaultOptions()
Default GraphHopperOptions: foot as vehicle, fastest as weighting, and dijkstrabi as algorithm.
-
getEncodingManager
final EncodingManager getEncodingManager()
Collection of the available EncodingManagers in GraphHopper.
-
-
-
-