ExplicitDistancePolicy
data class ExplicitDistancePolicy(val searchDistance: PathSearchDistance = PathSearchDistance(
maxHorizonLength = DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH
)) : 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 horizon engine only searches within an explicitly specified distance when extending the main path. To search along the entire route use the route length policy. If the search distance is not specified, a default value corresponding to a maximum horizon length of DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH is used.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
searchDistance
Constructors
Link copied to clipboard
constructor(searchDistance: PathSearchDistance = PathSearchDistance(
maxHorizonLength = DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH
))