Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CORIRetMethod Class Reference

#include <CORIRetMethod.hpp>

Inheritance diagram for CORIRetMethod:

TextQueryRetMethod RetrievalMethod List of all members.

Public Methods

 CORIRetMethod (Index &dbIndex,ScoreAccumulator &accumulator,String cwName,SimpleKLDocModel **smoothers=NULL,UnigramLM *collectLM=NULL)
 ~CORIRetMethod ()
virtual TextQueryRepcomputeTextQueryRep (TextQuery &qry)
 compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance).

virtual DocumentRepcomputeDocRep (int docID)
 compute the doc representation (caller responsible for deleting the memory of the generated new instance).

virtual ScoreFunctionscoreFunc ()
 return the scoring function pointer.

virtual void scoreCollection (QueryRep &qry,IndexedRealVector &results)
 ooverriding abstract class method with a general efficient inverted index scoring procedure.

virtual void updateTextQuery (TextQueryRep &qryRep,DocIDSet &relDocs)
 Modify/update the query representation based on a set (presumably) relevant documents.

void setTFFactor (double tf)
void setTFBaseline (double tf)

Protected Attributes

ScoreFunctionscFunc
SimpleKLDocModel** dfSmooth
UnigramLMcollLM
double* cwRatio
double tffactor
double tfbaseline

Constructor & Destructor Documentation

CORIRetMethod::CORIRetMethod ( Index & dbIndex,
ScoreAccumulator & accumulator,
String cwName,
SimpleKLDocModel ** smoothers = NULL,
UnigramLM * collectLM = NULL )
 

CORIRetMethod::~CORIRetMethod ( ) [inline]
 


Member Function Documentation

DocumentRep * CORIRetMethod::computeDocRep ( int docID ) [inline, virtual]
 

compute the doc representation (caller responsible for deleting the memory of the generated new instance).

Reimplemented from TextQueryRetMethod.

TextQueryRep * CORIRetMethod::computeTextQueryRep ( TextQuery & qry ) [inline, virtual]
 

compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance).

Reimplemented from TextQueryRetMethod.

void CORIRetMethod::scoreCollection ( QueryRep & qry,
IndexedRealVector & results ) [virtual]
 

ooverriding abstract class method with a general efficient inverted index scoring procedure.

Reimplemented from TextQueryRetMethod.

ScoreFunction * CORIRetMethod::scoreFunc ( ) [inline, virtual]
 

return the scoring function pointer.

Reimplemented from TextQueryRetMethod.

void CORIRetMethod::setTFBaseline ( double tf ) [inline]
 

void CORIRetMethod::setTFFactor ( double tf ) [inline]
 

void CORIRetMethod::updateTextQuery ( TextQueryRep & qryRep,
DocIDSet & relDocs ) [inline, virtual]
 

Modify/update the query representation based on a set (presumably) relevant documents.

Reimplemented from TextQueryRetMethod.


Member Data Documentation

UnigramLM * CORIRetMethod::collLM [protected]
 

double * CORIRetMethod::cwRatio [protected]
 

SimpleKLDocModel ** CORIRetMethod::dfSmooth [protected]
 

ScoreFunction * CORIRetMethod::scFunc [protected]
 

double CORIRetMethod::tfbaseline [protected]
 

double CORIRetMethod::tffactor [protected]
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:26:54 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000