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

lemur::retrieval::CORIRetMethod Class Reference

#include <CORIRetMethod.hpp>

Inheritance diagram for lemur::retrieval::CORIRetMethod:

lemur::api::TextQueryRetMethod lemur::api::RetrievalMethod List of all members.

Public Member Functions

 CORIRetMethod (const lemur::api::Index &dbIndex, lemur::api::ScoreAccumulator &accumulator, lemur::utility::String cwName, int isCSIndex=0, const SimpleKLDocModel **smoothers=NULL, const lemur::langmod::UnigramLM *collectLM=NULL)
 ~CORIRetMethod ()
virtual lemur::api::TextQueryRepcomputeTextQueryRep (const lemur::api::TermQuery &qry)
virtual lemur::api::DocumentRepcomputeDocRep (lemur::api::DOCID_T docID)
 compute the doc representation (caller responsible for deleting the memory of the generated new instance)

virtual lemur::api::ScoreFunctionscoreFunc ()
 return the scoring function pointer

virtual void scoreCollection (const lemur::api::QueryRep &qry, lemur::api::IndexedRealVector &results)
virtual void updateTextQuery (lemur::api::TextQueryRep &qryRep, const lemur::api::DocIDSet &relDocs)
void setTFFactor (double tf)
void setTFBaseline (double tf)

Protected Attributes

lemur::api::ScoreFunctionscFunc
const SimpleKLDocModel ** dfSmooth
const lemur::langmod::UnigramLMcollLM
double * cwRatio
double tffactor
double tfbaseline

Constructor & Destructor Documentation

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

lemur::retrieval::CORIRetMethod::~CORIRetMethod  )  [inline]
 


Member Function Documentation

virtual lemur::api::DocumentRep* lemur::retrieval::CORIRetMethod::computeDocRep lemur::api::DOCID_T  docID  )  [inline, virtual]
 

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

Implements lemur::api::TextQueryRetMethod.

virtual lemur::api::TextQueryRep* lemur::retrieval::CORIRetMethod::computeTextQueryRep const lemur::api::TermQuery qry  )  [inline, virtual]
 

void lemur::retrieval::CORIRetMethod::scoreCollection const lemur::api::QueryRep qry,
lemur::api::IndexedRealVector results
[virtual]
 

virtual lemur::api::ScoreFunction* lemur::retrieval::CORIRetMethod::scoreFunc  )  [inline, virtual]
 

return the scoring function pointer

Implements lemur::api::TextQueryRetMethod.

void lemur::retrieval::CORIRetMethod::setTFBaseline double  tf  )  [inline]
 

void lemur::retrieval::CORIRetMethod::setTFFactor double  tf  )  [inline]
 

virtual void lemur::retrieval::CORIRetMethod::updateTextQuery lemur::api::TextQueryRep qryRep,
const lemur::api::DocIDSet relDocs
[inline, virtual]
 


Member Data Documentation

const lemur::langmod::UnigramLM* lemur::retrieval::CORIRetMethod::collLM [protected]
 

double* lemur::retrieval::CORIRetMethod::cwRatio [protected]
 

const SimpleKLDocModel** lemur::retrieval::CORIRetMethod::dfSmooth [protected]
 

lemur::api::ScoreFunction* lemur::retrieval::CORIRetMethod::scFunc [protected]
 

double lemur::retrieval::CORIRetMethod::tfbaseline [protected]
 

double lemur::retrieval::CORIRetMethod::tffactor [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4