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

lemur::api::TextQueryRep Class Reference

Abstract representation of a text query as a sequence of weighted terms. More...

#include <TextQueryRep.hpp>

Inheritance diagram for lemur::api::TextQueryRep:

lemur::api::QueryRep lemur::retrieval::ArrayQueryRep lemur::retrieval::CORIQueryRep lemur::retrieval::CosSimQueryRep lemur::retrieval::OkapiQueryRep lemur::retrieval::SimpleKLQueryModel lemur::retrieval::TFIDFQueryRep List of all members.

Public Member Functions

virtual ~TextQueryRep ()
virtual void startIteration () const =0
 This, along with hasMore(), nextTerm(), supports iteration over terms.

virtual bool hasMore () const =0
virtual QueryTermnextTerm () const =0
 Fetch the next term. A new instance is generated; the caller is responsible for deleting it!

virtual double scoreConstant () const =0
 Any query-specific constant term in the scoring formula.


Detailed Description

Abstract representation of a text query as a sequence of weighted terms.


Constructor & Destructor Documentation

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


Member Function Documentation

virtual bool lemur::api::TextQueryRep::hasMore  )  const [pure virtual]
 

Implemented in lemur::retrieval::ArrayQueryRep.

virtual QueryTerm* lemur::api::TextQueryRep::nextTerm  )  const [pure virtual]
 

Fetch the next term. A new instance is generated; the caller is responsible for deleting it!

Implemented in lemur::retrieval::ArrayQueryRep.

virtual double lemur::api::TextQueryRep::scoreConstant  )  const [pure virtual]
 

Any query-specific constant term in the scoring formula.

Implemented in lemur::retrieval::SimpleKLQueryModel, and lemur::retrieval::ArrayQueryRep.

virtual void lemur::api::TextQueryRep::startIteration  )  const [pure virtual]
 

This, along with hasMore(), nextTerm(), supports iteration over terms.

Implemented in lemur::retrieval::ArrayQueryRep.


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