Couenne::Qroot Class Reference

class that stores result of previous calls to rootQ into a map for faster access More...

#include <CouenneRootQ.hpp>

List of all members.

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, CouNumberQmap
 Maps an integer k with the root of $Q^k(x)$.

Detailed Description

class that stores result of previous calls to rootQ into a map for faster access

Definition at line 28 of file CouenneRootQ.hpp.


Constructor & Destructor Documentation

Couenne::Qroot::Qroot (  )  [inline]

Empty constructor -- we only need the method to work on the static structure.

Definition at line 40 of file CouenneRootQ.hpp.

Couenne::Qroot::~Qroot (  )  [inline]

Empty destructor.

Definition at line 43 of file CouenneRootQ.hpp.


Member Function Documentation

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 48 of file CouenneRootQ.hpp.

References Qmap, and Couenne::rootQ().


Member Data Documentation

std::map<int, CouNumber> Couenne::Qroot::Qmap [static, protected]

Maps an integer k with the root of $Q^k(x)$.

Definition at line 34 of file CouenneRootQ.hpp.

Referenced by operator()().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 26 Jan 2012 for Couenne by  doxygen 1.6.1