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

lemur::retrieval::AndQnode Class Reference

Implements the AND query operator. Evaluates to the product of the max of the default score and the score of each of its child nodes. More...

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::AndQnode:

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

Public Member Functions

 AndQnode (double dbelief, double wt)
virtual ~AndQnode ()
virtual double eval (const lemur::api::DocumentRep *dRep) const

Detailed Description

Implements the AND query operator. Evaluates to the product of the max of the default score and the score of each of its child nodes.


Constructor & Destructor Documentation

lemur::retrieval::AndQnode::AndQnode double  dbelief,
double  wt
[inline]
 

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


Member Function Documentation

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

Score this node as the product of the scores of its children. If a child's score is less that the default score, the default score is used in the product instead of that childs score.

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