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

WsumQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for WsumQnode:

BeliefNode QueryNode InferenceNetworkNode List of all members.

Public Methods

 WsumQnode (double w)
virtual ~WsumQnode ()
virtual double eval (const DocumentRep *dRep) const

Detailed Description

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


Constructor & Destructor Documentation

WsumQnode::WsumQnode double    w [inline]
 

virtual WsumQnode::~WsumQnode   [inline, virtual]
 


Member Function Documentation

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

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

Implements QueryNode.


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