public class DetailedEvaluationReport extends EvaluationReport
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,List<QueryResult>> |
queryData
Stores the query series info
|
data, other| Constructor and Description |
|---|
DetailedEvaluationReport()
Creates a new report.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDataToSeries(String label,
CBRQuery query,
Double value)
Adds the given query and value to the series labelled by the given label.
|
Double |
getAverageOfDataSeries(String label)
Returns the average of the data series with the given label.
|
Double |
getAverageOfQueryDataSeries(String label)
Returns the average of the query data series with the given label.
|
List<QueryResult> |
getQuerySeries(String label)
Returns the evaluation info identified by the given label.
|
String[] |
getQuerySeriesLabels()
Returns the names of the contained evaluation series.
|
void |
printDetailedEvaluationReport(String filename)
Prints the report to the given file.
|
void |
removeDataSeries(String label)
Removes a data serie.
|
void |
removeOtherData(String label)
Removes some data.
|
void |
setSeries(String label,
List<QueryResult> queryEvaluations)
Sets the given evaluation series to be the series identified by the
given label.
|
String |
toString()
Returns the String representation of this report.
|
addDataToSeries, checkData, getNumberOfCycles, getOtherData, getOtherLabels, getSeries, getSeriesLabels, getTimePerCycle, getTotalTime, putOtherData, setNumberOfCycles, setSeries, setTotalTimeprotected HashMap<String,List<QueryResult>> queryData
public DetailedEvaluationReport()
public List<QueryResult> getQuerySeries(String label)
label - identifies the evaluation series.public void setSeries(String label, List<QueryResult> queryEvaluations)
label - identifier of the evaluation series.queryEvaluations - the evaluation series.public void addDataToSeries(String label, CBRQuery query, Double value)
label - the label whose series the query and value are being added to.query - the query.value - the query's value.public String[] getQuerySeriesLabels()
public void printDetailedEvaluationReport(String filename)
filename - the file to print the report to.public void removeDataSeries(String label)
label - the label of the data series to remove.public void removeOtherData(String label)
label - the label of the data to remove.public Double getAverageOfDataSeries(String label)
label - the label of the data series.public Double getAverageOfQueryDataSeries(String label)
label - the label of the query data series.public String toString()
toString in class EvaluationReportCopyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.