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

lemur::api::QueryTerm Class Reference

A query term is assumed to have at least an ID and a weight. More...

#include <TextQueryRep.hpp>

Inheritance diagram for lemur::api::QueryTerm:

lemur::retrieval::OkapiQueryTerm lemur::retrieval::XLQueryTerm List of all members.

Public Member Functions

 QueryTerm (TERMID_T termID, double weight)
virtual ~QueryTerm ()
virtual TERMID_T id () const
virtual double weight () const

Protected Attributes

TERMID_T ti
double w

Detailed Description

A query term is assumed to have at least an ID and a weight.


Constructor & Destructor Documentation

lemur::api::QueryTerm::QueryTerm TERMID_T  termID,
double  weight
[inline]
 

virtual lemur::api::QueryTerm::~QueryTerm  )  [inline, virtual]
 


Member Function Documentation

virtual TERMID_T lemur::api::QueryTerm::id  )  const [inline, virtual]
 

virtual double lemur::api::QueryTerm::weight  )  const [inline, virtual]
 

Reimplemented in lemur::retrieval::OkapiQueryTerm.


Member Data Documentation

TERMID_T lemur::api::QueryTerm::ti [protected]
 

double lemur::api::QueryTerm::w [protected]
 


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