Provides information about how OGDF has been configured. More...
#include <ogdf/basic/internal/config.h>
Public Types | |
enum class | LPSolver { None , Clp , Symphony , CPLEX , Gurobi , STOP } |
Specifies the LP-solver used by OGDF. More... | |
enum class | MemoryManager { PoolTS , PoolNTS , Malloc , STOP } |
Specifies the memory-manager used by OGDF. More... | |
enum class | System { Unknown , Windows , Unix , OSX , STOP } |
Specifies the operating system for which OGDF has been configured/built. More... | |
Static Public Member Functions | |
static constexpr bool | haveAbacus () |
Returns whether OGDF has been configured with ABACUS support. | |
static constexpr bool | haveCoin () |
Returns whether OGDF has been configured with COIN support. | |
static constexpr bool | haveLPSolver () |
Returns whether OGDF has been configured with LP-solver support. | |
static const string & | toString (LPSolver lps) |
Converts lps to a (readable) string. | |
static const string & | toString (MemoryManager mm) |
Converts mm to a (readable) string. | |
static const string & | toString (System sys) |
Converts sys to a (readable) string. | |
static constexpr LPSolver | whichLPSolver () |
Returns the LP-solver used by OGDF. | |
static constexpr MemoryManager | whichMemoryManager () |
Returns the memory manager used by OGDF. | |
static constexpr System | whichSystem () |
Returns the operating system for which OGDF has been configured. | |
|
strong |
Returns whether OGDF has been configured with ABACUS support.
ABACUS is used as branch-and-cut-solver by some OGDF algorithms. In former versions, OGDF could be configured without ABACUS support, so this functionality was not available. Now this function always returns true.
Returns whether OGDF has been configured with COIN support.
COIN is used as LP solver by some OGDF algorithms. In former versions, OGDF could be configured without COIN support, so this functionality was not available. Now this function always returns true.
Returns whether OGDF has been configured with LP-solver support.
Since COIN and ABACUS are required and shipped, this function always returns true.
Converts lps
to a (readable) string.
|
static |
Converts mm
to a (readable) string.
Converts sys
to a (readable) string.
|
inlinestaticconstexpr |
Returns the memory manager used by OGDF.
The memory manager is configured using the build configuration. Depending on that, the following macros are set: