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

lemur::retrieval::PassageQNode Class Reference

Implements the PASSAGEN operator. More...

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::PassageQNode:

lemur::retrieval::ProxNode lemur::retrieval::QueryNode List of all members.

Public Member Functions

 PassageQNode (int size, double w)
virtual ~PassageQNode ()
virtual double eval (const lemur::api::DocumentRep *dR) const
virtual void updateDocList (int numDocs)
 Intersect the doc lists of the children of this node.


Private Member Functions

double passageScore (const StructQryDocRep *dRep) const

Detailed Description

Implements the PASSAGEN operator.

This is a prox operator with embedded belief operators spliced out. Evaluates to the maximum of the passage scores for the document normalized by the window size..


Constructor & Destructor Documentation

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

virtual lemur::retrieval::PassageQNode::~PassageQNode  )  [inline, virtual]
 


Member Function Documentation

virtual double lemur::retrieval::PassageQNode::eval const lemur::api::DocumentRep dR  )  const [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.

Reimplemented from lemur::retrieval::ProxNode.

double lemur::retrieval::PassageQNode::passageScore const StructQryDocRep dRep  )  const [private]
 

weighted sum of prox children all belief operators have already been removed/flattened.

virtual void lemur::retrieval::PassageQNode::updateDocList int  numDocs  )  [inline, virtual]
 

Intersect the doc lists of the children of this node.

Reimplemented from lemur::retrieval::ProxNode.


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4