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

lemur::retrieval::BandQnode Class Reference

Implements the BAND query operator. This is the Boolean AND operator. Evaluates to the product of the scores of its child nodes if all of their scores exceed the default score, otherwise 0. More...

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::BandQnode:

lemur::retrieval::BeliefNode lemur::retrieval::QueryNode List of all members.

Public Member Functions

 BandQnode (double dbelief, double w)
virtual ~BandQnode ()
virtual double eval (const lemur::api::DocumentRep *dRep) const
virtual void updateDocList (int numDocs)
 Union the doc lists of the children of this node.


Detailed Description

Implements the BAND query operator. This is the Boolean AND operator. Evaluates to the product of the scores of its child nodes if all of their scores exceed the default score, otherwise 0.


Constructor & Destructor Documentation

lemur::retrieval::BandQnode::BandQnode double  dbelief,
double  w
[inline]
 

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


Member Function Documentation

virtual double lemur::retrieval::BandQnode::eval const lemur::api::DocumentRep dRep  )  const [inline, virtual]
 

Score as the product of the scores of all child nodes. If any child node returns a score less than or equal to the default score, return 0.

Implements lemur::retrieval::QueryNode.

virtual void lemur::retrieval::BandQnode::updateDocList int  numDocs  )  [inline, virtual]
 

Union the doc lists of the children of this node.

Reimplemented from lemur::retrieval::BeliefNode.


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