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

lemur::retrieval::OrQnode Class Reference

Implements the OR query operator. Evaluates to the 1 - the product of (1 - score) for each of its child nodes whose score is greater than the default score. More...

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::OrQnode:

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

Public Member Functions

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

Detailed Description

Implements the OR query operator. Evaluates to the 1 - the product of (1 - score) for each of its child nodes whose score is greater than the default score.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Score this node as (1 - the product of (1 - score) for each child node whose score is greater than the default weight.

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