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

OrQnode Class Reference

#include <StructQueryRep.hpp>

Inheritance diagram for OrQnode:

QueryNode List of all members.

Public Methods

 OrQnode (double dbelief, double wt)
virtual ~OrQnode ()
virtual double eval (DocumentRep *dRep)

Protected Attributes

double dw
 the default score for a node.


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 DocumentRep   dRep [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.


Member Data Documentation

double OrQnode::dw [protected]
 

the default score for a node.


The documentation for this class was generated from the following file:
Generated on Mon Sep 30 14:14:15 2002 for LEMUR by doxygen1.2.18