equal
deleted
inserted
replaced
258 val fields: Set[String], |
258 val fields: Set[String], |
259 val content: List[ML_Statistics.Entry], |
259 val content: List[ML_Statistics.Entry], |
260 val time_start: Double, |
260 val time_start: Double, |
261 val duration: Double) |
261 val duration: Double) |
262 { |
262 { |
|
263 override def toString: String = |
|
264 if (content.isEmpty) "ML_Statistics.empty" |
|
265 else "ML_Statistics(length = " + content.length + ", fields = " + fields.size + ")" |
|
266 |
|
267 |
263 /* content */ |
268 /* content */ |
264 |
269 |
265 def maximum(field: String): Double = |
270 def maximum(field: String): Double = |
266 content.foldLeft(0.0) { case (m, e) => m max e.get(field) } |
271 content.foldLeft(0.0) { case (m, e) => m max e.get(field) } |
267 |
272 |