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

lemur::retrieval::TFIDFQueryRep Class Reference

Representation of a query (as a weighted vector) in the TFIDF method. More...

#include <TFIDFRetMethod.hpp>

Inheritance diagram for lemur::retrieval::TFIDFQueryRep:

lemur::retrieval::ArrayQueryRep lemur::api::TextQueryRep lemur::api::QueryRep List of all members.

Public Member Functions

 TFIDFQueryRep (const lemur::api::TermQuery &qry, const lemur::api::Index &dbIndex, double *idfValue, TFIDFParameter::WeightParam &param)
virtual ~TFIDFQueryRep ()
double queryTFWeight (const double rawTF) const

Protected Attributes

TFIDFParameter::WeightParamprm
double * idf
const lemur::api::Indexind

Detailed Description

Representation of a query (as a weighted vector) in the TFIDF method.


Constructor & Destructor Documentation

lemur::retrieval::TFIDFQueryRep::TFIDFQueryRep const lemur::api::TermQuery qry,
const lemur::api::Index dbIndex,
double *  idfValue,
TFIDFParameter::WeightParam param
 

virtual lemur::retrieval::TFIDFQueryRep::~TFIDFQueryRep  )  [inline, virtual]
 


Member Function Documentation

double lemur::retrieval::TFIDFQueryRep::queryTFWeight const double  rawTF  )  const
 


Member Data Documentation

double* lemur::retrieval::TFIDFQueryRep::idf [protected]
 

const lemur::api::Index& lemur::retrieval::TFIDFQueryRep::ind [protected]
 

TFIDFParameter::WeightParam& lemur::retrieval::TFIDFQueryRep::prm [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