#include <TextQueryRep.hpp>
Inheritance diagram for PseudoFBDocs:
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 |
|
howManyDocs < 0 means using all results. If ignoreWeight=true, each doc will have the same weight (1.0); otherwise the weight comes from "results".
|
|
|
|
Implements WeightedIDSet. |
|
returns an ID and its weight
Implements WeightedIDSet. |
|
Implements WeightedIDSet. |