#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 () |
| virtual bool | hasMore () |
| virtual void | nextIDInfo (int &id, double &relProb) |
| returns an ID and its weight | |
Private Attributes | |
| IndexedRealVector * | res |
| int | howMany |
| int | i |
| bool | noWeight |
| IndexedRealVector::iterator | it |
|
||||||||||||||||
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16