/tripkit/TripKitAndroid/com.skedgo.tripkit.a2brouting/SelectBestDisplayTrip
SelectBestDisplayTrip
\ class SelectBestDisplayTrip : Function<T, R>
Selects display trip which has lowest weighted score.
If we leave after a certain query time, this helps pick the best display trip having start time that is not before the query time. Also, if we arrive by, it makes sure that display trip having end time which is after the query time will not be selected.
Constructors
SelectBestDisplayTrip | constructor() |
Functions
Name | Summary |
---|---|
apply | @NonNull open fun apply(@NonNullgroup: TripGroup): TripGroup |