uk.ac.gla.dcs.renaissance.mg4j
Class ConstantRetrievalModel

java.lang.Object
  extended by bpiwowar.experiments.AbstractTask
      extended by uk.ac.gla.dcs.renaissance.mg4j.ConstantRetrievalModel
All Implemented Interfaces:
bpiwowar.experiments.Task, RetrievalModel

public class ConstantRetrievalModel
extends bpiwowar.experiments.AbstractTask
implements RetrievalModel


Nested Class Summary
 
Nested classes/interfaces inherited from class bpiwowar.experiments.AbstractTask
bpiwowar.experiments.AbstractTask.Information
 
Constructor Summary
ConstantRetrievalModel()
           
 
Method Summary
 void close()
           
 void init(it.unimi.dsi.mg4j.document.DocumentCollection collection, IndexConfiguration index)
           
 void process(bpiwowar.ir.query.Topic topic, it.unimi.dsi.fastutil.objects.ObjectArrayList<it.unimi.dsi.mg4j.search.score.DocumentScoreInfo<it.unimi.dsi.fastutil.objects.Reference2ObjectMap<it.unimi.dsi.mg4j.index.Index,it.unimi.dsi.mg4j.query.SelectedInterval[]>>> results, int capacity, bpiwowar.log.TaskTimer timer)
          Process a topic and return a set of results
 
Methods inherited from class bpiwowar.experiments.AbstractTask
execute, getName, getParent, init, processTrailingArguments, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantRetrievalModel

public ConstantRetrievalModel()
Method Detail

init

public void init(it.unimi.dsi.mg4j.document.DocumentCollection collection,
                 IndexConfiguration index)
Specified by:
init in interface RetrievalModel

process

public void process(bpiwowar.ir.query.Topic topic,
                    it.unimi.dsi.fastutil.objects.ObjectArrayList<it.unimi.dsi.mg4j.search.score.DocumentScoreInfo<it.unimi.dsi.fastutil.objects.Reference2ObjectMap<it.unimi.dsi.mg4j.index.Index,it.unimi.dsi.mg4j.query.SelectedInterval[]>>> results,
                    int capacity,
                    bpiwowar.log.TaskTimer timer)
             throws Exception
Description copied from interface: RetrievalModel
Process a topic and return a set of results

Specified by:
process in interface RetrievalModel
timer - A timer
Throws:
Exception

close

public void close()
Specified by:
close in interface RetrievalModel


Copyright © 2011. All Rights Reserved.