Base class for modules. More...
#include <ogdf/basic/Module.h>
Public Types | |
enum class | ReturnType { Feasible , Optimal , NoFeasibleSolution , TimeoutFeasible , TimeoutInfeasible , Error } |
The return type of a module. More... | |
Public Member Functions | |
Module () | |
Initializes a module. | |
virtual | ~Module () |
Static Public Member Functions | |
static bool | isSolution (ReturnType ret) |
Returns true iff ret indicates that the module returned a feasible solution. | |
Base class for modules.
A module represents an algorithm that implements a certain interface. There are various specific module types present in the OGDF, which all inherit Module as a base class. These module types define the interface implemented by the module.
|
strong |
The return type of a module.
|
inlinestatic |