RouteStats

data class RouteStats(val totalRoutes: Int, val activeRoutes: Int, val completedRoutes: Int, val totalDistance: Int? = null, val totalTime: Int? = null, val averageStopsPerRoute: Double? = null, val completionRate: Double? = null, val averageOptimizationSavings: Double? = null, val statusDistribution: Map<RouteStatus, Int>? = null, val topDrivers: List<String>? = null)

Data class for route statistics and metrics.

Constructors

Link copied to clipboard
constructor(totalRoutes: Int, activeRoutes: Int, completedRoutes: Int, totalDistance: Int? = null, totalTime: Int? = null, averageStopsPerRoute: Double? = null, completionRate: Double? = null, averageOptimizationSavings: Double? = null, statusDistribution: Map<RouteStatus, Int>? = null, topDrivers: List<String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val completionRate: Double? = null
Link copied to clipboard
Link copied to clipboard
val topDrivers: List<String>? = null
Link copied to clipboard
val totalDistance: Int? = null
Link copied to clipboard
Link copied to clipboard
val totalTime: Int? = null