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

OkapiQueryRep Class Reference

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

#include <OkapiRetMethod.hpp>

Inheritance diagram for OkapiQueryRep:

ArrayQueryRep TextQueryRep QueryRep List of all members.

Public Methods

 OkapiQueryRep (TextQuery &qry,Index &dbIndex,double paramK3)
virtual ~OkapiQueryRep ()
int pNormCount ()
 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 Methods

virtual QueryTermmakeQueryTerm (int wdIndex,double wdCount)

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

OkapiQueryRep::OkapiQueryRep ( TextQuery & qry,
Index & dbIndex,
double paramK3 )
 

OkapiQueryRep::~OkapiQueryRep ( ) [inline, virtual]
 


Member Function Documentation

void OkapiQueryRep::incPEst ( int wdIndex,
int val ) [inline]
 

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

QueryTerm * OkapiQueryRep::makeQueryTerm ( int wdIndex,
double wdCount ) [inline, protected, virtual]
 

Reimplemented from ArrayQueryRep.

int OkapiQueryRep::pNormCount ( ) [inline]
 

return total number of relevant/feedback documents.

void OkapiQueryRep::setPNormCount ( int count ) [inline]
 

set total number of relevant/feedback documents.


Member Data Documentation

double OkapiQueryRep::k3 [protected]
 

int * OkapiQueryRep::pEst [protected]
 

int OkapiQueryRep::pNorm [protected]
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:22:54 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000