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

PseudoFBDocs Class Reference

Representation of a subset of feedback documents. More...

#include <TextQueryRep.hpp>

Inheritance diagram for PseudoFBDocs:

WeightedIDSet List of all members.

Public Methods

 PseudoFBDocs (IndexedRealVector &results, int howManyDoc, bool ignoreWeight=true)
 howManyDocs < 0 means using all results. If ignoreWeight=true, each doc will have the same weight (1.0); otherwise the weight comes from "results".

virtual ~PseudoFBDocs ()
virtual void startIteration () const
virtual bool hasMore () const
virtual void nextIDInfo (int &id, double &relProb) const
 returns an ID and its weight


Detailed Description

Representation of a subset of feedback documents.


Constructor & Destructor Documentation

PseudoFBDocs::PseudoFBDocs IndexedRealVector   results,
int    howManyDoc,
bool    ignoreWeight = true
[inline]
 

howManyDocs < 0 means using all results. If ignoreWeight=true, each doc will have the same weight (1.0); otherwise the weight comes from "results".

virtual PseudoFBDocs::~PseudoFBDocs   [inline, virtual]
 


Member Function Documentation

bool PseudoFBDocs::hasMore   [virtual]
 

Implements WeightedIDSet.

void PseudoFBDocs::nextIDInfo int &    id,
double &    relProb
const [virtual]
 

returns an ID and its weight

Implements WeightedIDSet.

virtual void PseudoFBDocs::startIteration   const [inline, virtual]
 

Implements WeightedIDSet.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:51 2004 for Lemur Toolkit by doxygen1.2.18