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 (const Index &dbIndex, ScoreAccumulator &accumulator, String cwName, int isCSIndex=0, const SimpleKLDocModel **smoothers=NULL, const UnigramLM *collectLM=NULL)
 ~CORIRetMethod ()
virtual TextQueryRepcomputeTextQueryRep (const TermQuery &qry)
 compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance)

virtual DocumentRepcomputeDocRep (DOCID_T 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 (const QueryRep &qry, IndexedRealVector &results)
 overriding abstract class method with a general efficient inverted index scoring procedure

virtual void updateTextQuery (TextQueryRep &qryRep, const 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
const SimpleKLDocModel ** dfSmooth
const UnigramLMcollLM
double * cwRatio
double tffactor
double tfbaseline

Constructor & Destructor Documentation

CORIRetMethod::CORIRetMethod const Index   dbIndex,
ScoreAccumulator   accumulator,
String    cwName,
int    isCSIndex = 0,
const SimpleKLDocModel **    smoothers = NULL,
const UnigramLM   collectLM = NULL
 

CORIRetMethod::~CORIRetMethod   [inline]
 


Member Function Documentation

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

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

Implements TextQueryRetMethod.

virtual TextQueryRep* CORIRetMethod::computeTextQueryRep const TermQuery   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 const QueryRep   qry,
IndexedRealVector   results
[virtual]
 

overriding 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,
const DocIDSet   relDocs
[inline, virtual]
 

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

Implements TextQueryRetMethod.


Member Data Documentation

const UnigramLM* CORIRetMethod::collLM [protected]
 

double* CORIRetMethod::cwRatio [protected]
 

const 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 Wed Nov 3 12:59:28 2004 for Lemur Toolkit by doxygen1.2.18