Files
2021-08-05 19:24:04 +03:00

8 lines
286 B
Kotlin
Vendored

interface DailyAggregatedDoubleFactor
private fun DailyAggregatedDoubleFactor.aggregateBy(reduce: (Double, Double) -> Double): Map<String, Double> {
return mutableMapOf<String, Double>()
}
fun DailyAggregatedDoubleFactor.aggregateMin(): Map<String, Double> = aggregateBy(::minOf)