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

lemur::retrieval::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 lemur::retrieval::OkapiQueryTerm:

lemur::api::QueryTerm List of all members.

Public Member Functions

 OkapiQueryTerm (lemur::api::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


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

lemur::retrieval::OkapiQueryTerm::OkapiQueryTerm lemur::api::TERMID_T  termID,
double  count,
int  pEstCount,
double  paramK3
[inline]
 


Member Function Documentation

virtual int lemur::retrieval::OkapiQueryTerm::pEstCount  )  const [inline, virtual]
 

return the number of rel docs with the term

virtual double lemur::retrieval::OkapiQueryTerm::weight  )  const [inline, virtual]
 

return query term TF weight

Reimplemented from lemur::api::QueryTerm.


Member Data Documentation

double lemur::retrieval::OkapiQueryTerm::k3 [private]
 

int lemur::retrieval::OkapiQueryTerm::pEst [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4