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

AndQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for AndQnode:

BeliefNode QueryNode InferenceNetworkNode List of all members.

Public Methods

 AndQnode (double dbelief, double wt)
virtual ~AndQnode ()
virtual double eval (const DocumentRep *dRep) const

Detailed Description

Implements the AND query operator. Evaluates to the product of the max of the default score and the score of each of its child nodes.


Constructor & Destructor Documentation

AndQnode::AndQnode double    dbelief,
double    wt
[inline]
 

virtual AndQnode::~AndQnode   [inline, virtual]
 


Member Function Documentation

virtual double AndQnode::eval const DocumentRep   dRep const [inline, virtual]
 

Score this node as the product of the scores of its children. If a child's score is less that the default score, the default score is used in the product instead of that childs score.

Implements QueryNode.


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