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

ProxNode Class Reference

Parent class for all prox operators. More...

#include <QueryNode.hpp>

Inheritance diagram for ProxNode:

QueryNode OdnQNode PassageQNode SynQNode TermQnode UwnQNode PropQNode List of all members.

Public Methods

 ProxNode (double wt)
 ProxNode (int id, double weight)
 ProxNode (double w, double d)
 ProxNode (int size, double w, double d)
virtual ~ProxNode ()
virtual double eval (DocumentRep *dRep)
 Score as the proximityScore for this document representation.

virtual void updateDocList (int numDocs)
 Intersect the doc lists of the children of this node.


Protected Attributes

int winSize
 Size of the window for this node.


Private Methods

double proximityScore (DocumentRep *dR, double defaultScore)

Detailed Description

Parent class for all prox operators.


Constructor & Destructor Documentation

ProxNode::ProxNode double    wt [inline]
 

ProxNode::ProxNode int    id,
double    weight
[inline]
 

ProxNode::ProxNode double    w,
double    d
[inline]
 

ProxNode::ProxNode int    size,
double    w,
double    d
[inline]
 

virtual ProxNode::~ProxNode   [inline, virtual]
 


Member Function Documentation

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

Score as the proximityScore for this document representation.

Implements QueryNode.

Reimplemented in TermQnode, and PassageQNode.

double ProxNode::proximityScore DocumentRep   dR,
double    defaultScore
[inline, private]
 

evaluate proximity operator against a document Prunes proxList to remove any entries that are no longer relevant to scoring this operator.

virtual void ProxNode::updateDocList int    numDocs [inline, virtual]
 

Intersect the doc lists of the children of this node.

Implements QueryNode.

Reimplemented in OdnQNode, UwnQNode, PassageQNode, and SynQNode.


Member Data Documentation

int ProxNode::winSize [protected]
 

Size of the window for this node.


The documentation for this class was generated from the following file:
Generated on Fri Feb 6 07:12:05 2004 for LEMUR by doxygen1.2.16