uk.ac.gla.dcs.renaissance.ir.rf
Class BlindRelevanceFeedback

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.ir.rf.BlindRelevanceFeedback
All Implemented Interfaces:
RelevanceFeedbackMethod

public class BlindRelevanceFeedback
extends Object
implements RelevanceFeedbackMethod


Constructor Summary
BlindRelevanceFeedback()
           
BlindRelevanceFeedback(int topK)
          Constructor
 
Method Summary
 void init()
          Initialise
 boolean isConstant()
          Returns true if the RF does not depend on a list of results
<T extends Document>
Collection<bpiwowar.utils.Pair<T,Float>>
process(String topicid, List<T> retrieved, DocumentFactory<T> factory)
          Return the list of documents to be used for RF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlindRelevanceFeedback

public BlindRelevanceFeedback(int topK)
Constructor

Parameters:
topK - return the topK documents

BlindRelevanceFeedback

public BlindRelevanceFeedback()
Method Detail

isConstant

public boolean isConstant()
Description copied from interface: RelevanceFeedbackMethod
Returns true if the RF does not depend on a list of results

Specified by:
isConstant in interface RelevanceFeedbackMethod

process

public <T extends Document> Collection<bpiwowar.utils.Pair<T,Float>> process(String topicid,
                                                                             List<T> retrieved,
                                                                             DocumentFactory<T> factory)
Description copied from interface: RelevanceFeedbackMethod
Return the list of documents to be used for RF

Specified by:
process in interface RelevanceFeedbackMethod

init

public void init()
          throws Exception
Description copied from interface: RelevanceFeedbackMethod
Initialise

Specified by:
init in interface RelevanceFeedbackMethod
Throws:
Exception


Copyright © 2011. All Rights Reserved.