uk.ac.gla.dcs.renaissance.ir.rf
Class TopRelevanceFeedback
java.lang.Object
uk.ac.gla.dcs.renaissance.ir.rf.TopRelevanceFeedback
- All Implemented Interfaces:
- RelevanceFeedbackMethod
public class TopRelevanceFeedback
- extends Object
- implements RelevanceFeedbackMethod
- Author:
- B. Piwowarski
Method Summary |
void |
init()
Initialise |
boolean |
isConstant()
Returns true if the RF does not depend on a list of results |
|
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 |
TopRelevanceFeedback
public TopRelevanceFeedback()
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.