Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CosSimQueryRep Class Reference

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

#include <CosSimRetMethod.hpp>

Inheritance diagram for CosSimQueryRep:

ArrayQueryRep TextQueryRep QueryRep List of all members.

Public Methods

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

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

virtual ~CosSimQueryRep ()

Protected Attributes

double * idf
const Indexind

Detailed Description

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


Constructor & Destructor Documentation

CosSimQueryRep::CosSimQueryRep const TermQuery   qry,
const Index   dbIndex,
double *    idfValue
 

Create a query representation for a text query.

CosSimQueryRep::CosSimQueryRep DOCID_T    docId,
const Index   dbIndex,
double *    idfValue
 

Create a query representation for the given document id.

virtual CosSimQueryRep::~CosSimQueryRep   [inline, virtual]
 


Member Data Documentation

double* CosSimQueryRep::idf [protected]
 

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