ExplicitDistancePolicy
public struct ExplicitDistancePolicy : PathSearchDistancePolicy
Policy that specifies a search distance for the main path.
Main path - the path that the user is currently on, extending along the most likely trajectory.
When enabling this search policy, the HorizonEngine
only searches within an explicitly specified
distance when extending the main path. To search along the entire route use the RouteLengthPolicy
.
If the search distance is not specified, a default value corresponding to a maximum horizon length of
Defaults.pathSearchDistance
is used.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Contains default values for
See moreExplicitDistancePolicy
.Declaration
Swift
public enum Defaults
-
Declaration
Swift
public let searchDistance: PathSearchDistance