#include <Compress.hpp>
Inheritance diagram for Compress:

Public Methods | |
| virtual void | compress (ostream &os,int n,int *arr)=0 |
| virtual int | decompress (istream &is,int *arr)=0 |
| virtual int | read (istream &is)=0 |
| virtual const char* | type ()=0 |
Compress
Abstract interface to the compression routines used for inverted lists. Specification:
compress(os, n, arr): compresses the n integers in arr and writes to the stream os
decompress(is, arr): decompresses the bits read from is and places them in the integer array arr, returning the length of the resulting array
|
|
Reimplemented in GammaCompress. |
|
|
Reimplemented in GammaCompress. |
|
|
Reimplemented in GammaCompress. |
|
|
Reimplemented in GammaCompress. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000