Package-level declarations

Types

Link copied to clipboard

Policy that defines a search distance for the main path.

Link copied to clipboard

Interface to a Virtual Horizon engine.

Link copied to clipboard
class HorizonOptions(val elementTypes: List<HorizonElementType>, val mainPathSearchOptions: MainPathSearchOptions = MainPathSearchOptions(), val subPathSearchOptions: List<SubPathSearchOptions> = listOf(), val numberOfPaths: Int = DEFAULT_NUMBER_OF_PATHS)

Horizon configuration options.

Link copied to clipboard
class HorizonResult(val options: HorizonOptions, val snapshot: HorizonSnapshot, val position: HorizonPosition)

Output of the horizon engine, consisting of:

Link copied to clipboard
class MainPathSearchOptions(val searchTime: Duration = DEFAULT_MAIN_PATH_SEARCH_TIME, val searchDistancePolicy: PathSearchDistancePolicy = ExplicitDistancePolicy( searchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_MAIN_PATH_MAX_HORIZON_LENGTH, ), ))

Horizon search options for the main path.

Link copied to clipboard
class PathSearchDistance(val maxHorizonLength: Distance)

Horizon path search distance configuration.

Link copied to clipboard

Interface to the path search policy.

Link copied to clipboard

Policy that binds the horizon path to the entire route.

Link copied to clipboard
class SubPathSearchOptions(val searchTime: Duration = DEFAULT_SUB_PATH_SEARCH_TIME, val searchDistance: PathSearchDistance = PathSearchDistance( maxHorizonLength = DEFAULT_SUB_PATH_MAX_HORIZON_LENGTH, ))

Horizon search options for a sub-path level.