org.terrier.evaluation
Class Evaluation.Record

java.lang.Object
  extended by org.terrier.evaluation.Evaluation.Record
Enclosing class:
Evaluation

public static class Evaluation.Record
extends java.lang.Object

A structure of a record of retrieved document.


Constructor Summary
Evaluation.Record(java.lang.String _queryNo, java.lang.String _docNo, int _rank)
          create a record of retrieved document
 
Method Summary
 java.lang.String getDocNo()
          get document number
 java.lang.String getQueryNo()
          get query number
 int getRank()
          get rank number
 void setQueryNo(java.lang.String _queryNo)
          set query number
 void setRank(int _rank)
          set rank position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluation.Record

public Evaluation.Record(java.lang.String _queryNo,
                         java.lang.String _docNo,
                         int _rank)
create a record of retrieved document

Parameters:
_queryNo -
_docNo -
_rank -
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


Terrier 3.5. Copyright © 2004-2011 University of Glasgow