QUERY
- Type of querypublic class PrecisionAtNResult<QUERY> extends Object implements AnalysisResult
AnalysisResult
used with PrecisionAtN
to hold the P@N
precision after N documents have been retrieved.
Provides both per-query precisions and descriptive statistics over all queries.
Constructor and Description |
---|
PrecisionAtNResult(int N)
Construct with the given N.
|
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. |
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() |
public PrecisionAtNResult(int N)
N
- number of retrieved documents at which precision is calculatedpublic 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) throws net.sf.jasperreports.engine.JRException
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.net.sf.jasperreports.engine.JRException
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