public static class EvaluationResult.MeasurementGroup extends Object implements Iterable<EvaluationResult.Measurement>
Modifier and Type | Field and Description |
---|---|
private String |
groupname
Group name
|
private ArrayList<EvaluationResult.Measurement> |
measurements
Measurements in this group.
|
Modifier | Constructor and Description |
---|---|
protected |
EvaluationResult.MeasurementGroup(String gname)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult.MeasurementGroup |
addMeasure(String name,
double val,
double min,
double max,
boolean lowerisbetter)
Add a single measurement.
|
EvaluationResult.MeasurementGroup |
addMeasure(String name,
double val,
double min,
double max,
double exp,
boolean lowerisbetter)
Add a single measurement.
|
String |
getName()
Get the group name.
|
Iterator<EvaluationResult.Measurement> |
iterator() |
private String groupname
private ArrayList<EvaluationResult.Measurement> measurements
protected EvaluationResult.MeasurementGroup(String gname)
gname
- Group namepublic String getName()
public EvaluationResult.MeasurementGroup addMeasure(String name, double val, double min, double max, boolean lowerisbetter)
name
- Measurement nameval
- Observed valuemin
- Minimum valuemax
- Maximum valuelowerisbetter
- Flagthis
(Builder pattern)public EvaluationResult.MeasurementGroup addMeasure(String name, double val, double min, double max, double exp, boolean lowerisbetter)
name
- Measurement nameval
- Observed valuemin
- Minimum valueexp
- Expected valuelowerisbetter
- Flagthis
(Builder pattern)public Iterator<EvaluationResult.Measurement> iterator()
iterator
in interface Iterable<EvaluationResult.Measurement>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.