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

OkapiQueryTerm Class Reference

Represent of a query term in Okapi retrieval model, the term carries a count of the number of rel docs with the term. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for OkapiQueryTerm:

QueryTerm List of all members.

Public Methods

 OkapiQueryTerm (int termID, double count, int pEstCount, double paramK3)
virtual int pEstCount ()
 return the number of rel docs with the term

virtual double weight ()
 return query term TF weight


Private Attributes

int pEst
double k3

Detailed Description

Represent of a query term in Okapi retrieval model, the term carries a count of the number of rel docs with the term.


Constructor & Destructor Documentation

OkapiQueryTerm::OkapiQueryTerm int    termID,
double    count,
int    pEstCount,
double    paramK3
[inline]
 


Member Function Documentation

virtual int OkapiQueryTerm::pEstCount   [inline, virtual]
 

return the number of rel docs with the term

virtual double OkapiQueryTerm::weight   [inline, virtual]
 

return query term TF weight

Reimplemented from QueryTerm.


Member Data Documentation

double OkapiQueryTerm::k3 [private]
 

int OkapiQueryTerm::pEst [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 6 07:12:05 2004 for LEMUR by doxygen1.2.16