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
AnalysisResultJasperPrint summarising the result.getSummaryReport in interface AnalysisResulttitle - a title to add to the reportinfo - information to print at the beginning of the reportString summarising the resultnet.sf.jasperreports.engine.JRExceptionpublic net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info) throws net.sf.jasperreports.engine.JRException
AnalysisResultJasperPrint detailing the result.getDetailReport in interface AnalysisResulttitle - a title to add to the reportinfo - information to print at the beginning of the reportJasperPrint detailing the result.net.sf.jasperreports.engine.JRExceptionpublic String getSummaryReport()
AnalysisResultString summarising the result.getSummaryReport in interface AnalysisResultString summarising the resultpublic String getDetailReport()
AnalysisResultString detailing the result.getDetailReport in interface AnalysisResultString detailing the result