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

lemur::retrieval::OkapiQueryRep Class Reference

OkapiQueryRep carries an array to store the count of relevant docs with a term. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for lemur::retrieval::OkapiQueryRep:

lemur::retrieval::ArrayQueryRep lemur::api::TextQueryRep lemur::api::QueryRep List of all members.

Public Member Functions

 OkapiQueryRep (const lemur::api::TermQuery &qry, const lemur::api::Index &dbIndex, double paramK3)
virtual ~OkapiQueryRep ()
int pNormCount () const
 return total number of relevant/feedback documents

void setPNormCount (int count)
 set total number of relevant/feedback documents

void incPEst (int wdIndex, int val)
 increase the count of relevant/feedback doc in which a term occurs


Protected Member Functions

virtual lemur::api::QueryTermmakeQueryTerm (lemur::api::TERMID_T wdIndex, double wdCount) const

Protected Attributes

double k3
int pNorm
int * pEst

Detailed Description

OkapiQueryRep carries an array to store the count of relevant docs with a term.


Constructor & Destructor Documentation

lemur::retrieval::OkapiQueryRep::OkapiQueryRep const lemur::api::TermQuery qry,
const lemur::api::Index dbIndex,
double  paramK3
 

virtual lemur::retrieval::OkapiQueryRep::~OkapiQueryRep  )  [inline, virtual]
 


Member Function Documentation

void lemur::retrieval::OkapiQueryRep::incPEst int  wdIndex,
int  val
[inline]
 

increase the count of relevant/feedback doc in which a term occurs

virtual lemur::api::QueryTerm* lemur::retrieval::OkapiQueryRep::makeQueryTerm lemur::api::TERMID_T  wdIndex,
double  wdCount
const [inline, protected, virtual]
 

Reimplemented from lemur::retrieval::ArrayQueryRep.

int lemur::retrieval::OkapiQueryRep::pNormCount  )  const [inline]
 

return total number of relevant/feedback documents

void lemur::retrieval::OkapiQueryRep::setPNormCount int  count  )  [inline]
 

set total number of relevant/feedback documents


Member Data Documentation

double lemur::retrieval::OkapiQueryRep::k3 [protected]
 

int* lemur::retrieval::OkapiQueryRep::pEst [protected]
 

int lemur::retrieval::OkapiQueryRep::pNorm [protected]
 


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