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

WsumQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for WsumQnode:

BeliefNode QueryNode List of all members.

Public Methods

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

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 DocumentRep   dRep [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 Fri Feb 6 07:12:09 2004 for LEMUR by doxygen1.2.16