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

BandQnode Class Reference

#include <StructQueryRep.hpp>

Inheritance diagram for BandQnode:

QueryNode List of all members.

Public Methods

 BandQnode (double dbelief, double w)
virtual ~BandQnode ()
virtual double eval (DocumentRep *dRep)

Protected Attributes

double dw
 the default score.


Detailed Description

Implements the BAND query operator. This is the Boolean AND operator. Evaluates to the product of the scores of its child nodes if all of their scores exceed the default score, otherwise 0.


Constructor & Destructor Documentation

BandQnode::BandQnode double    dbelief,
double    w
[inline]
 

virtual BandQnode::~BandQnode   [inline, virtual]
 


Member Function Documentation

virtual double BandQnode::eval DocumentRep   dRep [inline, virtual]
 

Score as the product of the scores of all child nodes. If any child node returns a score less than or equal to the default score, return 0.

Implements QueryNode.


Member Data Documentation

double BandQnode::dw [protected]
 

the default score.


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