tudocomp
– The TU Dortmund Compression Framework
tdc::LZSSSlidingWindowCompressor< coder_t > Class Template Reference

Computes the LZ77 factorization of the input by moving a sliding window over it in which redundant phrases will be looked for. More...

#include <LZSSSlidingWindowCompressor.hpp>

Inheritance diagram for tdc::LZSSSlidingWindowCompressor< coder_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LZSSSlidingWindowCompressor ()=delete
 Default constructor (not supported). More...
 
 LZSSSlidingWindowCompressor (Env &&e)
 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>
class tdc::LZSSSlidingWindowCompressor< coder_t >

Computes the LZ77 factorization of the input by moving a sliding window over it in which redundant phrases will be looked for.

Definition at line 15 of file LZSSSlidingWindowCompressor.hpp.

Constructor & Destructor Documentation

◆ LZSSSlidingWindowCompressor() [1/2]

template<typename coder_t >
tdc::LZSSSlidingWindowCompressor< coder_t >::LZSSSlidingWindowCompressor ( )
inlinedelete

Default constructor (not supported).

◆ LZSSSlidingWindowCompressor() [2/2]

template<typename coder_t >
tdc::LZSSSlidingWindowCompressor< coder_t >::LZSSSlidingWindowCompressor ( Env &&  e)
inline

Construct the class with an environment.

Definition at line 33 of file LZSSSlidingWindowCompressor.hpp.

Member Function Documentation

◆ compress()

template<typename coder_t >
virtual void tdc::LZSSSlidingWindowCompressor< coder_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 39 of file LZSSSlidingWindowCompressor.hpp.

◆ decompress()

template<typename coder_t >
virtual void tdc::LZSSSlidingWindowCompressor< coder_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 120 of file LZSSSlidingWindowCompressor.hpp.

◆ meta()

template<typename coder_t >
static Meta tdc::LZSSSlidingWindowCompressor< coder_t >::meta ( )
inlinestatic

Definition at line 21 of file LZSSSlidingWindowCompressor.hpp.


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