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 (const DocumentRep *dRep) const
 Score as the termWeight of this term in the document.

virtual void copyDocList (int len, int tf, const 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,
const DocInfoList   dl,
int    dc
[virtual]
 

Copy the DocInfoList for a given node.

Reimplemented from QueryNode.

virtual double TermQnode::eval const DocumentRep   dRep const [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 Wed Nov 3 12:59:57 2004 for Lemur Toolkit by doxygen1.2.18