public class IREvalResult extends Object implements AnalysisResult
AnalysisResult
that is bascked by a SetRetrievalEvaluator
to
capture the results of a retrieval experiment.Modifier and Type | Field and Description |
---|---|
protected SetRetrievalEvaluator |
eval |
Constructor and Description |
---|
IREvalResult(SetRetrievalEvaluator sre)
Construct with the given
SetRetrievalEvaluator result. |
Modifier and Type | Method and Description |
---|---|
String |
getDetailReport()
Get a
String detailing the result. |
net.sf.jasperreports.engine.JasperPrint |
getDetailReport(String title,
String info)
Get a
JasperPrint detailing the result. |
List<IndependentPair<Double,Double>> |
getInterpolatedPRData() |
List<IndependentPair<String,Number>> |
getSummaryData() |
String |
getSummaryReport()
Get a
String summarising the result. |
net.sf.jasperreports.engine.JasperPrint |
getSummaryReport(String title,
String info)
Get a
JasperPrint summarising the result. |
String |
toString() |
protected SetRetrievalEvaluator eval
public IREvalResult(SetRetrievalEvaluator sre)
SetRetrievalEvaluator
result.sre
- the SetRetrievalEvaluator
.public List<IndependentPair<String,Number>> getSummaryData()
public List<IndependentPair<Double,Double>> getInterpolatedPRData()
public net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info) throws net.sf.jasperreports.engine.JRException
AnalysisResult
JasperPrint
summarising the result.getSummaryReport
in interface AnalysisResult
title
- a title to add to the reportinfo
- information to print at the beginning of the reportString
summarising the resultnet.sf.jasperreports.engine.JRException
public net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info)
AnalysisResult
JasperPrint
detailing the result.getDetailReport
in interface AnalysisResult
title
- a title to add to the reportinfo
- information to print at the beginning of the reportJasperPrint
detailing the result.public String getSummaryReport()
AnalysisResult
String
summarising the result.getSummaryReport
in interface AnalysisResult
String
summarising the resultpublic String getDetailReport()
AnalysisResult
String
detailing the result.getDetailReport
in interface AnalysisResult
String
detailing the result