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

Computes the LZ77 factorization of the input using its suffix array and LCP table. More...

#include <LZSSLCPCompressor.hpp>

Inheritance diagram for tdc::LZSSLCPCompressor< coder_t, text_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LZSSLCPCompressor ()=delete
 Default constructor (not supported). More...
 
 LZSSLCPCompressor (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
 
Compressoroperator= (Compressor const &)=default
 
Compressoroperator= (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
 
Algorithmoperator= (Algorithm const &)=default
 
Algorithmoperator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Envenv ()
 Provides access to the environment that the algorithm works in. More...
 
const Envenv () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

template<typename coder_t, typename text_t = TextDS<>>
class tdc::LZSSLCPCompressor< coder_t, text_t >

Computes the LZ77 factorization of the input using its suffix array and LCP table.

Definition at line 24 of file LZSSLCPCompressor.hpp.

Constructor & Destructor Documentation

◆ LZSSLCPCompressor() [1/2]

template<typename coder_t , typename text_t = TextDS<>>
tdc::LZSSLCPCompressor< coder_t, text_t >::LZSSLCPCompressor ( )
inlinedelete

Default constructor (not supported).

◆ LZSSLCPCompressor() [2/2]

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

Construct the class with an environment.

Definition at line 39 of file LZSSLCPCompressor.hpp.

Member Function Documentation

◆ compress()

template<typename coder_t , typename text_t = TextDS<>>
virtual void tdc::LZSSLCPCompressor< coder_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 42 of file LZSSLCPCompressor.hpp.

◆ decompress()

template<typename coder_t , typename text_t = TextDS<>>
virtual void tdc::LZSSLCPCompressor< coder_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 126 of file LZSSLCPCompressor.hpp.

◆ meta()

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

Definition at line 26 of file LZSSLCPCompressor.hpp.


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