OrRouteSelector

data class OrRouteSelector(first: RouteSelector, second: RouteSelector) : RouteSelector

Evaluates a route as a result of the OR operation using two other selectors.

Parameters

first

is a first selector

second

is a second selector

Constructors

Link copied to clipboard
fun OrRouteSelector(first: RouteSelector, second: RouteSelector)

Functions

Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val first: RouteSelector
Link copied to clipboard
val quality: Double
Link copied to clipboard
val second: RouteSelector