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

SumQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for SumQnode:

BeliefNode QueryNode InferenceNetworkNode List of all members.

Public Methods

 SumQnode (double wt)
virtual ~SumQnode ()
virtual double eval (const DocumentRep *dRep) const

Detailed Description

Implements the SUM query operator. Evaluates to the average of the scores of its child nodes.


Constructor & Destructor Documentation

SumQnode::SumQnode double    wt [inline]
 

virtual SumQnode::~SumQnode   [inline, virtual]
 


Member Function Documentation

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

Score this node as the sum of the scores of its children divided by the number of children.

Implements QueryNode.


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