org.galagosearch.core.eval
Class RetrievalEvaluator.Document

java.lang.Object
  extended by org.galagosearch.core.eval.RetrievalEvaluator.Document
Enclosing class:
RetrievalEvaluator

public static class RetrievalEvaluator.Document
extends java.lang.Object

This class represents a document returned by a retrieval system. It can be subclassed if you want to add system-dependent information to the document representation.


Field Summary
 java.lang.String documentNumber
          The document identifier.
 int rank
          The rank of the document in a retrieved ranked list.
 double score
          The score given to this document by the retrieval system.
 
Constructor Summary
RetrievalEvaluator.Document(java.lang.String documentNumber)
          Constructs a new Document object.
RetrievalEvaluator.Document(java.lang.String documentNumber, int rank, double score)
          Constructs a new Document object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rank

public int rank
The rank of the document in a retrieved ranked list.


documentNumber

public java.lang.String documentNumber
The document identifier.


score

public double score
The score given to this document by the retrieval system.

Constructor Detail

RetrievalEvaluator.Document

public RetrievalEvaluator.Document(java.lang.String documentNumber,
                                   int rank,
                                   double score)
Constructs a new Document object.

Parameters:
documentNumber - The document identifier.
rank - The rank of the document in a retrieved ranked list.
score - The score given to this document by the retrieval system.

RetrievalEvaluator.Document

public RetrievalEvaluator.Document(java.lang.String documentNumber)
Constructs a new Document object.

Parameters:
documentNumber - The document identifier.


Copyright © 2009. All Rights Reserved.