tudocomp
– The TU Dortmund Compression Framework
tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t > Class Template Reference

Factorizes the input by finding redundant phrases in a re-ordered version of the LCP table. More...

#include <LCPCompressor.hpp>

Inheritance diagram for tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LCPCompressor (Env &&env)
 Construct the class with an environment. More...
 
virtual void compress (Input &input, Output &output) override
 Compress the given input to the given output. More...
 
virtual void decompress (Input &input, Output &output) override
 Decompress the given input to the given output. More...
 
- Public Member Functions inherited from tdc::Compressor
virtual ~Compressor ()=default
 
 Compressor (Compressor const &)=default
 
 Compressor (Compressor &&)=default
 
Compressor & operator= (Compressor const &)=default
 
Compressor & operator= (Compressor &&)=default
 
 Compressor (Env &&env)
 Construct the compressor with an environment. More...
 
- 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 ()
 

Detailed Description

template<typename coder_t, typename strategy_t, typename dec_t, typename text_t = TextDS<>>
class tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >

Factorizes the input by finding redundant phrases in a re-ordered version of the LCP table.

Definition at line 83 of file LCPCompressor.hpp.

Constructor & Destructor Documentation

◆ LCPCompressor()

template<typename coder_t , typename strategy_t , typename dec_t , typename text_t = TextDS<>>
tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >::LCPCompressor ( Env &&  env)
inline

Construct the class with an environment.

Definition at line 98 of file LCPCompressor.hpp.

Member Function Documentation

◆ compress()

template<typename coder_t , typename strategy_t , typename dec_t , typename text_t = TextDS<>>
virtual void tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >::compress ( Input &  input,
Output &  output 
)
inlineoverridevirtual

Compress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 100 of file LCPCompressor.hpp.

◆ decompress()

template<typename coder_t , typename strategy_t , typename dec_t , typename text_t = TextDS<>>
virtual void tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >::decompress ( Input &  input,
Output &  output 
)
inlineoverridevirtual

Decompress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 140 of file LCPCompressor.hpp.

◆ meta()

template<typename coder_t , typename strategy_t , typename dec_t , typename text_t = TextDS<>>
static Meta tdc::LCPCompressor< coder_t, strategy_t, dec_t, text_t >::meta ( )
inlinestatic

Definition at line 85 of file LCPCompressor.hpp.


The documentation for this class was generated from the following file: