Package org.terrier.evaluation
Class TerrierEvaluation.Record
- java.lang.Object
-
- org.terrier.evaluation.TerrierEvaluation.Record
-
- Enclosing class:
- TerrierEvaluation
public static class TerrierEvaluation.Record extends java.lang.Object
A structure of a record of retrieved document.
-
-
Constructor Summary
Constructors Constructor Description Record(java.lang.String _queryNo, java.lang.String _docNo, int _rank)
create a record of retrieved document
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDocNo()
get document numberjava.lang.String
getQueryNo()
get query numberint
getRank()
get rank numbervoid
setQueryNo(java.lang.String _queryNo)
set query numbervoid
setRank(int _rank)
set rank position
-
-
-
Method Detail
-
getRank
public int getRank()
get rank number- Returns:
- int
-
setRank
public void setRank(int _rank)
set rank position- Parameters:
_rank
-
-
getDocNo
public java.lang.String getDocNo()
get document number- Returns:
- String
-
setQueryNo
public void setQueryNo(java.lang.String _queryNo)
set query number- Parameters:
_queryNo
-
-
getQueryNo
public java.lang.String getQueryNo()
get query number- Returns:
- query number
-
-