public abstract class MeasureCollection extends AbstractMOAObject
Constructor and Description |
---|
MeasureCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addEmptyValue(int index) |
void |
addEventType(String type) |
void |
addValue(int index,
double value) |
protected void |
addValue(String name,
double value) |
void |
clean(int index) |
protected abstract void |
evaluateClustering(Clustering clustering,
Clustering trueClustering,
ArrayList<DataPoint> points) |
double |
evaluateClusteringPerformance(Clustering clustering,
Clustering trueClustering,
ArrayList<DataPoint> points) |
ArrayList<Double> |
getAllValues(int index) |
protected boolean[] |
getDefaultEnabled() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
String |
getEventType(int index) |
double |
getLastValue(int index) |
double |
getLowerQuartile(int index) |
double |
getMaxValue(int index) |
double |
getMean(int index) |
double |
getMeanRunningTime() |
double |
getMedian(int index) |
double |
getMinValue(int index) |
String |
getName(int index) |
protected abstract String[] |
getNames() |
int |
getNumberOfValues(int index) |
int |
getNumMeasures() |
double |
getUpperQuartile(int index) |
double |
getValue(int index,
int i) |
boolean |
isEnabled(int index) |
void |
setEnabled(int index,
boolean value) |
copy, copy, measureByteSize, measureByteSize, toString
protected abstract String[] getNames()
public void addValue(int index, double value)
protected void addValue(String name, double value)
public void addEmptyValue(int index)
public int getNumMeasures()
public String getName(int index)
public double getMaxValue(int index)
public double getMinValue(int index)
public double getLastValue(int index)
public double getMean(int index)
public void clean(int index)
public double getMedian(int index)
public double getLowerQuartile(int index)
public double getUpperQuartile(int index)
public int getNumberOfValues(int index)
public double getValue(int index, int i)
public void setEnabled(int index, boolean value)
public boolean isEnabled(int index)
public double getMeanRunningTime()
protected boolean[] getDefaultEnabled()
protected abstract void evaluateClustering(Clustering clustering, Clustering trueClustering, ArrayList<DataPoint> points) throws Exception
Exception
public double evaluateClusteringPerformance(Clustering clustering, Clustering trueClustering, ArrayList<DataPoint> points) throws Exception
Exception
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic void addEventType(String type)
public String getEventType(int index)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.