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]
 

Implements Compress.

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

Implements Compress.

int GammaCompress::read istream &    is [virtual]
 

Implements Compress.

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

Implements Compress.


The documentation for this class was generated from the following files:
Generated on Mon Sep 30 14:14:01 2002 for LEMUR by doxygen1.2.18