tudocomp
– The TU Dortmund Compression Framework
tdc::RunRichGenerator Class Reference

Generates strings according to A Series of Run-Rich Strings (Wataru Matsubara et al.) More...

#include <RunRichGenerator.hpp>

Inheritance diagram for tdc::RunRichGenerator:
tdc::Generator tdc::Algorithm

Public Member Functions

virtual std::string generate () override
 Generates a string based on the environment settings. 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 ()
 
static std::string generate (size_t n)
 

Detailed Description

Generates strings according to A Series of Run-Rich Strings (Wataru Matsubara et al.)

Definition at line 9 of file RunRichGenerator.hpp.

Member Function Documentation

static std::string tdc::RunRichGenerator::generate ( size_t  n)
inlinestatic

Definition at line 18 of file RunRichGenerator.hpp.

virtual std::string tdc::RunRichGenerator::generate ( )
inlineoverridevirtual

Generates a string based on the environment settings.

Returns
the generated string.

Implements tdc::Generator.

Definition at line 41 of file RunRichGenerator.hpp.

static Meta tdc::RunRichGenerator::meta ( )
inlinestatic

Definition at line 12 of file RunRichGenerator.hpp.


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