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

TermQnode Class Reference

Implements a term query node (leaf). More...

#include <QueryNode.hpp>

Inheritance diagram for TermQnode:

ProxNode QueryNode List of all members.

Public Methods

 TermQnode (int id, double weight)
virtual ~TermQnode ()
virtual double eval (DocumentRep *dRep)
 Score as the termWeight of this term in the document.

virtual void copyDocList (int len, int tf, DocInfoList *dl, int dc)
 Copy the DocInfoList for a given node.


Detailed Description

Implements a term query node (leaf).


Constructor & Destructor Documentation

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

virtual TermQnode::~TermQnode   [inline, virtual]
 


Member Function Documentation

void TermQnode::copyDocList int    len,
int    tf,
DocInfoList   dl,
int    dc
[virtual]
 

Copy the DocInfoList for a given node.

Reimplemented from QueryNode.

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

Score as the termWeight of this term in the document.

Reimplemented from ProxNode.


The documentation for this class was generated from the following files:
Generated on Tue Nov 25 11:27:21 2003 for Lemur Toolkit by doxygen1.2.18