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

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

public class TopRelevanceFeedback
extends Object
implements RelevanceFeedbackMethod

Author:
B. Piwowarski

Constructor Summary
TopRelevanceFeedback()
           
 
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

TopRelevanceFeedback

public TopRelevanceFeedback()
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

init

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

Specified by:
init in interface RelevanceFeedbackMethod
Throws:
Exception

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


Copyright © 2011. All Rights Reserved.