public class EvaluationResults
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedHashMap<GraphDataSet,ReportSummaryStatistics> |
results
The evaluation result on different datasets.
|
Constructor and Description |
---|
EvaluationResults() |
Modifier and Type | Method and Description |
---|---|
void |
addRun(GraphDataSet data,
ReportSummaryStatistics stats)
Add a new result for evaluating an algorithm on a specific dataset.
|
void |
save(java.nio.file.Path file)
Saves the evaluation results to the given file.
|
private java.util.LinkedHashMap<GraphDataSet,ReportSummaryStatistics> results
public void addRun(GraphDataSet data, ReportSummaryStatistics stats)
data
- The dataset the algorithm was evaluated on.stats
- The evaluation runtime statistics.public void save(java.nio.file.Path file) throws java.io.IOException
file
- The file to save to.java.io.IOException
- When an IOException occurs.