Base class for modules. More...
#include <ogdf/basic/Module.h>
Public Types | |
enum | ReturnType { ReturnType::Feasible, ReturnType::Optimal, ReturnType::NoFeasibleSolution, ReturnType::TimeoutFeasible, ReturnType::TimeoutInfeasible, ReturnType::Error } |
The return type of a module. More... | |
Public Member Functions | |
Module () | |
Initializes a module. More... | |
virtual | ~Module () |
Static Public Member Functions | |
static bool | isSolution (ReturnType ret) |
Returns true iff ret indicates that the module returned a feasible solution. More... | |
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 |