org.terrier.querying
Class FeedbackSelector

java.lang.Object
  extended by org.terrier.querying.FeedbackSelector
Direct Known Subclasses:
PseudoRelevanceFeedbackSelector, RelevanceFeedbackSelector, RelevanceFeedbackSelectorDocids, RelevantOnlyFeedbackDocuments

public abstract class FeedbackSelector
extends java.lang.Object

Implements of this class can be used to select feedback documents. Feedback documents are represented by the FeedbackDocument instances.

Since:
3.0
Author:
Craig Macdonald

Field Summary
protected  Index index
           
 
Constructor Summary
FeedbackSelector()
           
 
Method Summary
abstract  FeedbackDocument[] getFeedbackDocuments(Request request)
          Obtain feedback documents for the specified query request
 void setIndex(Index _index)
          Set the index to be used
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected Index index
Constructor Detail

FeedbackSelector

public FeedbackSelector()
Method Detail

setIndex

public void setIndex(Index _index)
Set the index to be used


getFeedbackDocuments

public abstract FeedbackDocument[] getFeedbackDocuments(Request request)
Obtain feedback documents for the specified query request



Terrier 3.5. Copyright © 2004-2011 University of Glasgow