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

BandQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for BandQnode:

BeliefNode QueryNode InferenceNetworkNode List of all members.

Public Methods

 BandQnode (double dbelief, double w)
virtual ~BandQnode ()
virtual double eval (const 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

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

virtual BandQnode::~BandQnode   [inline, virtual]
 


Member Function Documentation

virtual double BandQnode::eval const 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 QueryNode.

virtual void BandQnode::updateDocList int    numDocs [inline, virtual]
 

Union the doc lists of the children of this node.

Reimplemented from BeliefNode.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:24 2004 for Lemur Toolkit by doxygen1.2.18