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:

HashFreqVector List of all members.

Public Methods

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

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

virtual int size ()=0

Detailed Description

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


Member Function Documentation

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

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

Implemented in HashFreqVector.

virtual bool FreqVector::hasMore   [pure virtual]
 

Implemented in HashFreqVector.

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

Fetch the next frequency entry.

Implemented in HashFreqVector.

virtual int FreqVector::size   [pure virtual]
 

Implemented in HashFreqVector.

virtual void FreqVector::startIteration   [pure virtual]
 

Implemented in HashFreqVector.


The documentation for this class was generated from the following file:
Generated on Tue Nov 25 11:27:08 2003 for Lemur Toolkit by doxygen1.2.18