tudocomp
– The TU Dortmund Compression Framework
|
Interface for algorithms. More...
#include <Algorithm.hpp>
Public Member Functions | |
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 |
Interface for algorithms.
This is the base for classes that use an environment (Env) to receive options or communicate with the framework in different ways.
Algorithms are required to implement also a static function meta()
that returns a Meta object, containing information about the algorithm.
Definition at line 15 of file Algorithm.hpp.
|
virtualdefault |
|
default |
|
default |
|
inline |
Instantiates an algorithm in the specified environment.
env | The environment for the algorithm to work in. |
Definition at line 31 of file Algorithm.hpp.
|
inline |
Provides access to the environment that the algorithm works in.
Definition at line 51 of file Algorithm.hpp.
|
inline |
Definition at line 52 of file Algorithm.hpp.