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.


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

int OkapiQueryTerm::pEstCount ( ) [inline, virtual]
 

return the number of rel docs with the term.

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 at Fri Jul 26 18:22:54 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000