dlinear
0.0.1
Delta-complete SMT solver for linear programming
|
Global class storing the infinity values for the different LP solvers. More...
#include <Infinity.h>
Static Public Member Functions | |
static const mpq_class & | infinity (const Config &config) |
Get the positive infinity value for the given LP solver in the config . | |
static const mpq_class & | ninfinity (const Config &config) |
Get the negative infinity value for the given LP solver in the config . | |
static const mpq_class & | infinity (Config::LPSolver lp_solver) |
Get the positive infinity value for the given lp_solver . | |
static const mpq_class & | ninfinity (Config::LPSolver lp_solver) |
Get the negative infinity value for the given lp_solver . | |
Static Private Member Functions | |
static void | Initialise () |
Lazy initialisation of the infinity values. | |
Global class storing the infinity values for the different LP solvers.
The infinity values are lazily initialised when the first request is made. Since different LP solvers may use different values to represent infinity, they are stored separately and accessed through static methods, based on the LPSolver in the Config object.
Definition at line 21 of file Infinity.h.
|
static |
Get the positive infinity value for the given lp_solver
.
lp_solver | LP solver to consider |
Definition at line 46 of file Infinity.cpp.
|
static |
Get the positive infinity value for the given LP solver in the config
.
config | configuration object indicating which LP solver to consider |
Definition at line 30 of file Infinity.cpp.
|
static |
Get the negative infinity value for the given lp_solver
.
lp_solver | LP solver to consider |
Definition at line 62 of file Infinity.cpp.
|
static |
Get the negative infinity value for the given LP solver in the config
.
config | configuration object indicating which LP solver to consider |
Definition at line 31 of file Infinity.cpp.