Main Page   Namespace List   Class Hierarchy   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, ScoreAccumulator &accumulator)
virtual ~InQueryRetMethod ()
virtual StructQueryRepcomputeStructQueryRep (StructQuery &qry)
 compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance)

virtual DocumentRepcomputeDocRep (int docID)
 compute the doc representation (caller responsible for deleting the memory of the generated new instance)

virtual ScoreFunctionscoreFunc ()
 return the scoring function pointer

virtual void updateStructQuery (StructQueryRep &qryRep, DocIDSet &relDocs)
void setDocINQParam (InQueryParameter::docParam &dParam)
void setQueryINQParam (InQueryParameter::qryParam &qParam)

Protected Attributes

double * idfV
ScoreFunctionscFunc
 keep a copy to be used at any time

InQueryParameter::qryParam qryPrm
InQueryParameter::docParam docPrm

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,
ScoreAccumulator   accumulator
 

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 (caller responsible for deleting the memory of the generated new instance)

Implements StructQueryRetMethod.

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

return the scoring function pointer

Implements StructQueryRetMethod.

void InQueryRetMethod::setDocINQParam InQueryParameter::docParam   dParam [inline]
 

void InQueryRetMethod::setQueryINQParam InQueryParameter::qryParam   qParam [inline]
 

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 by the simplified Rocchio of the TFIDFRetMethod class.

Implements StructQueryRetMethod.


Member Data Documentation

InQueryParameter::docParam InQueryRetMethod::docPrm [protected]
 

double* InQueryRetMethod::idfV [protected]
 

InQueryParameter::qryParam InQueryRetMethod::qryPrm [protected]
 

ScoreFunction* InQueryRetMethod::scFunc [protected]
 

keep a copy to be used at any time


The documentation for this class was generated from the following files:
Generated on Mon Sep 30 14:14:05 2002 for LEMUR by doxygen1.2.18