Object GraphHopperOptions.Companion
-
- 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<Profile>allProfilesprivate final GraphHopperOptionsdefaultOptionspublic 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 VehicleEncodedValuesFactory 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. -
-
Method Detail
-
optionsFor
final GraphHopperOptions optionsFor(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).
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor(String profile, String algorithm)
Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi).
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor(String profile)
Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi).
-
optionsFor
@JvmOverloads() final GraphHopperOptions optionsFor()
Retrieves or creates the set of options for the required profile (default: foot_fastest) and algorithm (default: dijstrabi).
-
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 VehicleEncodedValuesFactory 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.
-
-
-
-