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

GammaCompress Class Reference

Gamma compressor. More...

#include <GammaCompress.hpp>

Inheritance diagram for GammaCompress:

Compress List of all members.

Public Methods

 GammaCompress ()
void compress (ostream &os,int n,int *a)
int decompress (istream &is,int *a)
int read (istream &is)
const char* type ()

Detailed Description

Gamma compressor.

GammaCompress

Implementation of the "gamma" method, as described in "Managing Gigabytes" by Witten et al., Chapter 3. (The method is originally attributed to P. Elias.)


Constructor & Destructor Documentation

GammaCompress::GammaCompress ( )
 


Member Function Documentation

void GammaCompress::compress ( ostream & os,
int n,
int * a ) [virtual]
 

Reimplemented from Compress.

int GammaCompress::decompress ( istream & is,
int * a ) [virtual]
 

Reimplemented from Compress.

int GammaCompress::read ( istream & is ) [virtual]
 

Reimplemented from Compress.

const char * GammaCompress::type ( ) [inline, virtual]
 

Reimplemented from Compress.


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