open class SpeedToConsumptionMap
A speed to fuel/energy consumption map. Units and constraints are defined by the context in which this is used.
SpeedToConsumptionMap()
A speed to fuel/energy consumption map. Units and constraints are defined by the context in which this is used. |
val speedToConsumptionPairs: MutableMap<Int!, Double!>!
A map which contains pairs of speed-consumption values. Filled with values in |
open fun addSpeedToConsumptionValue(speed: Int, consumption: Double): Unit
Add a speed-consumption pair to the map. |
|
open static fun create(fromMap: MutableMap<Int!, Double!>!): SpeedToConsumptionMap
A static method that returns a new instance of |
|
open fun getValues(): MutableMap<Int!, Double!>
Get a map of speed-consumption values. |