Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FreqVector Class Reference

#include <FreqVector.hpp>

Inheritance diagram for FreqVector:

FloatFreqVector HashFreqVector List of all members.

Public Methods

virtual bool find (TERMID_T ind, int &freq) const=0
 Find the frequency of a word identified by the index "ind".

virtual void startIteration () const=0
virtual bool hasMore () const=0
virtual void nextFreq (TERMID_T &id, int &freq) const=0
 Fetch the next frequency entry.

virtual int size () const=0

Detailed Description

Abstract class that represents a frequency vector accessible through an integer key


Member Function Documentation

virtual bool FreqVector::find TERMID_T    ind,
int &    freq
const [pure virtual]
 

Find the frequency of a word identified by the index "ind".

Implemented in FloatFreqVector.

virtual bool FreqVector::hasMore   [pure virtual]
 

Implemented in FloatFreqVector, and HashFreqVector.

virtual void FreqVector::nextFreq TERMID_T   id,
int &    freq
const [pure virtual]
 

Fetch the next frequency entry.

Implemented in FloatFreqVector.

virtual int FreqVector::size   [pure virtual]
 

Implemented in FloatFreqVector, and HashFreqVector.

virtual void FreqVector::startIteration   [pure virtual]
 

Implemented in FloatFreqVector, and HashFreqVector.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:34 2004 for Lemur Toolkit by doxygen1.2.18