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

PassageQNode Class Reference

#include <StructQueryRep.hpp>

Inheritance diagram for PassageQNode:

QueryNode List of all members.

Public Methods

 PassageQNode (int size, double w)
virtual ~PassageQNode ()
virtual double eval (DocumentRep *dR)

Protected Attributes

int winSize
 Passage window size.


Detailed Description

Implements the PASSAGEN operator. Evaluates to the maximum of the passage scores for the document normalized by the window size..


Constructor & Destructor Documentation

PassageQNode::PassageQNode int    size,
double    w
[inline]
 

virtual PassageQNode::~PassageQNode   [inline, virtual]
 


Member Function Documentation

virtual double PassageQNode::eval DocumentRep   dR [inline, virtual]
 

Score as the maximum passage score for the document rep normalized by window size. The StructQueryDocRep provides passage iteration over the overlapping windows. The score for an individual passage is the sum of the scores of the children nodes.

Implements QueryNode.


Member Data Documentation

int PassageQNode::winSize [protected]
 

Passage window size.


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