Package-level declarations
Types
Link copied to clipboard
Represents the difference between two charging times of routes.
Link copied to clipboard
Represents the difference between two consumption amounts of routes.
Link copied to clipboard
Represents the difference between two lengths of routes.
Link copied to clipboard
Represents the various failure reasons encountered during a route comparison.
Link copied to clipboard
class RouteDifferences(val lengthDifference: LengthDifference, val timeDifference: TimeDifference, val chargingDifference: ChargingDifference, val consumptionDifference: ConsumptionDifference?, val sectionsDifferences: SectionsDifferences = SectionsDifferences())
Represents the differences between two routes.
Link copied to clipboard
Link copied to clipboard
class SectionsDifferences(val carTrains: SectionsDifference<CarTrainSection> = SectionsDifference(), val tolls: SectionsDifference<TollSection> = SectionsDifference(), val traffic: SectionsDifference<TrafficSection> = SectionsDifference(), val tollVignettes: SectionsDifference<TollVignetteSection> = SectionsDifference(), val motorways: SectionsDifference<MotorwaySection> = SectionsDifference(), val ferries: SectionsDifference<FerrySection> = SectionsDifference(), val tunnels: SectionsDifference<TunnelSection> = SectionsDifference(), val carpoolLanes: SectionsDifference<CarpoolSection> = SectionsDifference(), val lowEmissionZones: SectionsDifference<LowEmissionZoneSection> = SectionsDifference(), val unpavedRoads: SectionsDifference<UnpavedSection> = SectionsDifference(), val countries: SectionsDifference<CountrySection> = SectionsDifference(), val vehicleRestrictions: SectionsDifference<VehicleRestrictedSection> = SectionsDifference())
Represents the differences between the sections of two routes.
Link copied to clipboard
Represents the difference between two travel times of routes.
Functions
Link copied to clipboard
fun Route.compareToForkingRoute(forkingRoute: Route): Result<RouteDifferences, RouteComparisonFailure>
Compares this route to a forking route and returns the differences between the two.