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 (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 (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 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 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 Fri Jul 2 16:25:40 2004 for Lemur Toolkit by doxygen1.2.18