ExplicitDistancePolicy

class ExplicitDistancePolicy(val searchDistance: PathSearchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH )) : PathSearchDistancePolicy

Policy that defines a search distance for the main path.

The main path is the path the user currently follows, extending along the most likely trajectory. If the horizon options specify this policy, the horizon engine only searches within an explicitly specified distance when extending the main path. If a search distance is not provided, a default value will be used that corresponds to a maximum horizon length of DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH.

For more information on horizon paths see HorizonEngine.

For more information on horizon options see HorizonOptions.

To search along the entire route use the route length policy.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(searchDistance: PathSearchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_MAX_HORIZON_MAIN_PATH_LENGTH ))

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String