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

AndQnode Class Reference

#include <StructQueryRep.hpp>

Inheritance diagram for AndQnode:

QueryNode List of all members.

Public Methods

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

Protected Attributes

double dw
 the default score for a node.


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

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

virtual AndQnode::~AndQnode   [inline, virtual]
 


Member Function Documentation

virtual double AndQnode::eval DocumentRep   dRep [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 QueryNode.


Member Data Documentation

double AndQnode::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:13:48 2002 for LEMUR by doxygen1.2.18