#include <FreqVector.hpp>
Inheritance diagram for HashFreqVector:
Public Methods | |
HashFreqVector () | |
HashFreqVector (const Index &index, DOCID_T docID) | |
Construct a document frequency vector based on the counts stored in an index. | |
virtual | ~HashFreqVector () |
virtual bool | find (DOCID_T ind, int &freq) const |
virtual void | startIteration () const |
virtual bool | hasMore () const |
virtual void | nextFreq (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 FreqVector. |
|
|
|
return the total number of non-zero elements in the vector
Implements FreqVector. |
|
Implements FreqVector. |
|
|