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 (TERMID_T termID, double count, int pEstCount, double paramK3)
virtual int pEstCount () const
 return the number of rel docs with the term

virtual double weight () const
 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 TERMID_T    termID,
double    count,
int    pEstCount,
double    paramK3
[inline]
 


Member Function Documentation

virtual int OkapiQueryTerm::pEstCount   const [inline, virtual]
 

return the number of rel docs with the term

virtual double OkapiQueryTerm::weight   const [inline, virtual]
 

return query term TF weight

Reimplemented from QueryTerm.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:49 2004 for Lemur Toolkit by doxygen1.2.18