ConsumptionData

data class ConsumptionData @JvmOverloads constructor(var consumptionCurve: Map<Double, Double> = emptyMap(), var weightFactors: Map<Double, Double> = emptyMap()) : Parcelable

Constructors

Link copied to clipboard
fun ConsumptionData(consumptionCurve: Map<Double, Double> = emptyMap(), weightFactors: Map<Double, Double> = emptyMap())

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Consumption in kWh/km or l/km (depending on vehicle type) for given speeds

Link copied to clipboard

Modification of consumption based on vehicle weight