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

InQueryRetMethod Class Reference

#include <InQueryRetMethod.hpp>

Inheritance diagram for InQueryRetMethod:

StructQueryRetMethod RetrievalMethod List of all members.

Public Methods

 InQueryRetMethod (InvFPIndex &dbIndex, double belief, int fbTerms, double fbCoef, bool cacheIDF)
virtual ~InQueryRetMethod ()
virtual StructQueryRepcomputeStructQueryRep (StructQuery &qry)
 compute the query representation for a text query

virtual DocumentRepcomputeDocRep (int docID)
virtual ScoreFunctionscoreFunc ()
 return the scoring function pointer

virtual void updateStructQuery (StructQueryRep &qryRep, DocIDSet &relDocs)

Detailed Description

The InQuery retrieval method for structured queries. Implements the InQuery formulation of idf weighting and default belief value. Behavior can be modified by adjusting that value using the defaultBelief parameter. Provides feedback support in the same fashion as the LEMUR TFIDF method.


Constructor & Destructor Documentation

InQueryRetMethod::InQueryRetMethod InvFPIndex   dbIndex,
double    belief,
int    fbTerms,
double    fbCoef,
bool    cacheIDF
 

virtual InQueryRetMethod::~InQueryRetMethod   [inline, virtual]
 


Member Function Documentation

virtual DocumentRep* InQueryRetMethod::computeDocRep int    docID [inline, virtual]
 

compute the doc representation (caller responsible for deleting the memory of the generated new instance)

Implements StructQueryRetMethod.

virtual StructQueryRep* InQueryRetMethod::computeStructQueryRep StructQuery   qry [inline, virtual]
 

compute the query representation for a text query

Implements StructQueryRetMethod.

virtual ScoreFunction* InQueryRetMethod::scoreFunc   [inline, virtual]
 

return the scoring function pointer

Implements StructQueryRetMethod.

void InQueryRetMethod::updateStructQuery StructQueryRep   qryRep,
DocIDSet   relDocs
[virtual]
 

Create new structured query that is a weighted sum of the original query and the terms selected.

Implements StructQueryRetMethod.


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