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

OdnQNode Class Reference

#include <QueryNode.hpp>

Inheritance diagram for OdnQNode:

ProxNode QueryNode PropQNode List of all members.

Public Methods

 OdnQNode (int size, double w, double d)
virtual ~OdnQNode ()
virtual void updateDocList (int numDocs)
 Intersect the doc lists of the children of this node.


Private Methods

void orderedProxList (int numDocs)
 Prune proximity list for ordered proximity operator.

bool foundOrderedProx (int bpos, int wsize, QnList *cl, int ith)
 recursively find matching windows for ordered proximity operator.


Detailed Description

Implements the ODN operator. This is the ORDERED WINDOW operator. Evaluates to the proximityScore of the document.


Constructor & Destructor Documentation

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

virtual OdnQNode::~OdnQNode   [inline, virtual]
 


Member Function Documentation

bool OdnQNode::foundOrderedProx int    currPos,
int    wsize,
QnList   cl,
int    ith
[private]
 

recursively find matching windows for ordered proximity operator.

we know how many entries are coming. total requirement is sum of the sizes of each child list + 2*dCnt

void OdnQNode::orderedProxList int    numDocs [private]
 

Prune proximity list for ordered proximity operator.

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

Intersect the doc lists of the children of this node.

Reimplemented from ProxNode.


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