tudocomp
– The TU Dortmund Compression Framework

Base for string generators. More...
#include <Generator.hpp>
Public Member Functions  
virtual std::string  generate ()=0 
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  
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 
Base for string generators.
Definition at line 13 of file Generator.hpp.

pure virtual 
Generates a string based on the environment settings.
Implemented in tdc::RandomUniformGenerator, tdc::RunRichGenerator, tdc::FibonacciGenerator, and tdc::ThueMorseGenerator.