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

lemur::retrieval::SumQnode Class Reference

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

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::SumQnode:

lemur::retrieval::BeliefNode lemur::retrieval::QueryNode List of all members.

Public Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

lemur::retrieval::SumQnode::SumQnode double  wt  )  [inline]
 

virtual lemur::retrieval::SumQnode::~SumQnode  )  [inline, virtual]
 


Member Function Documentation

virtual double lemur::retrieval::SumQnode::eval const lemur::api::DocumentRep dRep  )  const [inline, virtual]
 

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

Implements lemur::retrieval::QueryNode.


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4