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

FreqVector Class Reference

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

#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

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

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

Reimplemented in HashFreqVector.

virtual bool FreqVector::hasMore ( ) [pure virtual]
 

Reimplemented in HashFreqVector.

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

Fetch the next frequency entry.

Reimplemented in HashFreqVector.

virtual int FreqVector::size ( ) [pure virtual]
 

Reimplemented in HashFreqVector.

virtual void FreqVector::startIteration ( ) [pure virtual]
 

Reimplemented in HashFreqVector.


The documentation for this class was generated from the following file:
Generated at Fri Jul 26 18:22:47 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000