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

OrQnode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for OrQnode:

BeliefNode QueryNode InferenceNetworkNode List of all members.

Public Methods

 OrQnode (double dbelief, double wt)
virtual ~OrQnode ()
virtual double eval (const 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

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

virtual OrQnode::~OrQnode   [inline, virtual]
 


Member Function Documentation

virtual double OrQnode::eval const 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 QueryNode.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:49 2004 for Lemur Toolkit by doxygen1.2.18