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

lemur::retrieval::CosSimQueryRep Class Reference

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

#include <CosSimRetMethod.hpp>

Inheritance diagram for lemur::retrieval::CosSimQueryRep:

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

Public Member Functions

 CosSimQueryRep (const lemur::api::TermQuery &qry, const lemur::api::Index &dbIndex, double *idfValue)
 Create a query representation for a text query.

 CosSimQueryRep (lemur::api::DOCID_T docId, const lemur::api::Index &dbIndex, double *idfValue)
 Create a query representation for the given document id.

virtual ~CosSimQueryRep ()

Protected Attributes

double * idf
const lemur::api::Indexind

Detailed Description

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


Constructor & Destructor Documentation

lemur::retrieval::CosSimQueryRep::CosSimQueryRep const lemur::api::TermQuery qry,
const lemur::api::Index dbIndex,
double *  idfValue
 

Create a query representation for a text query.

lemur::retrieval::CosSimQueryRep::CosSimQueryRep lemur::api::DOCID_T  docId,
const lemur::api::Index dbIndex,
double *  idfValue
 

Create a query representation for the given document id.

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


Member Data Documentation

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

const lemur::api::Index& lemur::retrieval::CosSimQueryRep::ind [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