#include <FreqVector.hpp>
Inheritance diagram for lemur::utility::HashFreqVector:

Public Member Functions | |
| HashFreqVector () | |
| HashFreqVector (const lemur::api::Index &index, lemur::api::DOCID_T docID) | |
| Construct a document frequency vector based on the counts stored in an index. | |
| virtual | ~HashFreqVector () |
| virtual bool | find (lemur::api::DOCID_T ind, int &freq) const |
| virtual void | startIteration () const |
| virtual bool | hasMore () const |
| virtual void | nextFreq (lemur::api::DOCID_T &id, int &freq) const |
| virtual int | size () const |
| return the total number of non-zero elements in the vector | |
Protected Attributes | |
| int | i |
|
|
|
|
||||||||||||
|
Construct a document frequency vector based on the counts stored in an index.
|
|
|
|
|
||||||||||||
|
|
|
|
Implements lemur::utility::FreqVector. |
|
||||||||||||
|
|
|
|
return the total number of non-zero elements in the vector
Implements lemur::utility::FreqVector. |
|
|
Implements lemur::utility::FreqVector. |
|
|
|
1.3.4