Main Page   Namespace List   Class Hierarchy   Alphabetical List   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


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.


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