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

lemur::retrieval::WsumQnode Class Reference

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

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::WsumQnode:

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

Public Member Functions

 WsumQnode (double w)
virtual ~WsumQnode ()
virtual double eval (const lemur::api::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

lemur::retrieval::WsumQnode::WsumQnode double  w  )  [inline]
 

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


Member Function Documentation

virtual double lemur::retrieval::WsumQnode::eval const lemur::api::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 lemur::retrieval::QueryNode.


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