Main Page   Namespace List   Class Hierarchy   Alphabetical List   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, int isCSIndex=0, 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,
int    isCSIndex = 0,
SimpleKLDocModel **    smoothers = NULL,
UnigramLM   collectLM = NULL
 

CORIRetMethod::~CORIRetMethod   [inline]
 


Member Function Documentation

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

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

Implements TextQueryRetMethod.

virtual 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)

Implements TextQueryRetMethod.

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

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

Reimplemented from TextQueryRetMethod.

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

return the scoring function pointer

Implements TextQueryRetMethod.

void CORIRetMethod::setTFBaseline double    tf [inline]
 

void CORIRetMethod::setTFFactor double    tf [inline]
 

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

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

Implements 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 on Tue Nov 25 11:27:04 2003 for Lemur Toolkit by doxygen1.2.18