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 (TextQuery &qry, Index &dbIndex, double *idfValue)
 Create a query representation for a text query.

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

virtual ~CosSimQueryRep ()

Protected Attributes

double * idf
Indexind

Detailed Description

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


Constructor & Destructor Documentation

CosSimQueryRep::CosSimQueryRep TextQuery   qry,
Index   dbIndex,
double *    idfValue
 

Create a query representation for a text query.

CosSimQueryRep::CosSimQueryRep int    docId,
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]
 

Index& CosSimQueryRep::ind [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Nov 25 11:27:05 2003 for Lemur Toolkit by doxygen1.2.18