tudocomp
– The TU Dortmund Compression Framework
|
Runs a number of scans of the factors. More...
#include <ScanDec.hpp>
Public Member Functions | |
void | decode_lazy () |
void | decode_eagerly () |
ScanDec (ScanDec &&other) | |
ScanDec (Env &&env, len_t size) | |
void | decode_literal (uliteral_t c) |
void | decode_factor (const len_t source_position, const len_t factor_length) |
Public Member Functions inherited from tdc::Algorithm | |
virtual | ~Algorithm ()=default |
Algorithm (Algorithm const &)=default | |
Algorithm (Algorithm &&)=default | |
Algorithm & | operator= (Algorithm const &)=default |
Algorithm & | operator= (Algorithm &&)=default |
Algorithm (Env &&env) | |
Instantiates an algorithm in the specified environment. More... | |
Env & | env () |
Provides access to the environment that the algorithm works in. More... | |
const Env & | env () const |
Static Public Member Functions | |
static Meta | meta () |
Runs a number of scans of the factors.
Finishes the process of decoding started by It allocates an array for all not-yet decoded positions such that it can store in that positions all positions still waiting of that position to get decompressed.
In each scan, it tries to decode all factors. Factors that got fully decoded are dropped.
The not-yet decoded positions are marked in a bit vector with rank-support such that we can map from text position to positions in the array.
Definition at line 146 of file ScanDec.hpp.
|
inline |
Definition at line 203 of file ScanDec.hpp.
Definition at line 210 of file ScanDec.hpp.
|
inline |
Definition at line 163 of file ScanDec.hpp.
|
inline |
Definition at line 222 of file ScanDec.hpp.
|
inline |
Definition at line 154 of file ScanDec.hpp.
|
inline |
Definition at line 217 of file ScanDec.hpp.
|
inlinestatic |
Definition at line 148 of file ScanDec.hpp.