#include <TextQueryRep.hpp>
Inheritance diagram for lemur::api::PseudoFBDocs:
Public Member Functions | |
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 | |
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 lemur::utility::WeightedIDSet. |
|
returns an ID and its weight
Implements lemur::utility::WeightedIDSet. |
|
Implements lemur::utility::WeightedIDSet. |
|
|
|
|
|
|
|
|
|
|