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

lemur::retrieval::TermQnode Class Reference

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

#include <QueryNode.hpp>

Inheritance diagram for lemur::retrieval::TermQnode:

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

Public Member Functions

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

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


Detailed Description

Implements a term query node (leaf).


Constructor & Destructor Documentation

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

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


Member Function Documentation

virtual void lemur::retrieval::TermQnode::copyDocList int  len,
int  tf,
const lemur::api::DocInfoList dl,
int  dc
[virtual]
 

Copy the DocInfoList for a given node.

Reimplemented from lemur::retrieval::QueryNode.

virtual double lemur::retrieval::TermQnode::eval const lemur::api::DocumentRep dRep  )  const [inline, virtual]
 

Score as the termWeight of this term in the document.

Reimplemented from lemur::retrieval::ProxNode.


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