class that stores result of previous calls to rootQ into a map for faster access More...
#include <CouenneRootQ.hpp>
Public Member Functions | |
Qroot () | |
Empty constructor -- we only need the method to work on the static structure. | |
~Qroot () | |
Empty destructor. | |
CouNumber | operator() (int k) |
Retrieve root of Q with order = k. | |
Static Protected Attributes | |
static std::map< int, CouNumber > | Qmap |
Maps an integer k with the root of ![]() |
class that stores result of previous calls to rootQ into a map for faster access
Definition at line 29 of file CouenneRootQ.hpp.
Couenne::Qroot::Qroot | ( | ) | [inline] |
Empty constructor -- we only need the method to work on the static structure.
Definition at line 41 of file CouenneRootQ.hpp.
Couenne::Qroot::~Qroot | ( | ) | [inline] |
Empty destructor.
Definition at line 44 of file CouenneRootQ.hpp.
CouNumber Couenne::Qroot::operator() | ( | int | k | ) | [inline] |
Retrieve root of Q with order = k.
If no such computation has been performed yet, do it here
Definition at line 49 of file CouenneRootQ.hpp.
References Qmap, and Couenne::rootQ().
std::map<int, CouNumber> Couenne::Qroot::Qmap [static, protected] |
Maps an integer k with the root of .
Definition at line 35 of file CouenneRootQ.hpp.
Referenced by operator()().