org.terrier.querying
Class FeedbackDocument

java.lang.Object
  extended by org.terrier.querying.FeedbackDocument

public class FeedbackDocument
extends java.lang.Object

Class representing feedback documents, pseudo- or otherwise.

Since:
3.0
Author:
Craig Macdonald

Field Summary
 int docid
          Document id
 int rank
          rank
 byte relevance
          relevance value - it might not contain relevance value
 double score
          score - it might not contain score value
 
Constructor Summary
FeedbackDocument()
          default constructor
FeedbackDocument(int _docid, int _rank, double _score)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object y)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docid

public int docid
Document id


rank

public int rank
rank


relevance

public byte relevance
relevance value - it might not contain relevance value


score

public double score
score - it might not contain score value

Constructor Detail

FeedbackDocument

public FeedbackDocument()
default constructor


FeedbackDocument

public FeedbackDocument(int _docid,
                        int _rank,
                        double _score)
Constructor

Parameters:
_docid -
_rank -
_score -
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object y)
Overrides:
equals in class java.lang.Object


Terrier 3.5. Copyright © 2004-2011 University of Glasgow