storage class for previously evaluated expressions More...
#include <CouenneExprStore.hpp>


Public Member Functions | |
| exprStore (expression *copy) | |
| Constructor. | |
| exprStore (const exprStore &e, Domain *d=NULL) | |
| Store constructor -- Must go. | |
| virtual | ~exprStore () |
| Destructor. | |
| virtual void | print (std::ostream &out=std::cout, bool descend=false) const |
| Printing. | |
| virtual expression * | clone (Domain *d=NULL) const |
| Cloning method. | |
| virtual CouNumber | operator() () |
| function for evaluating the expression -- returns value of exprCopy pointed to, which returns a value stored from a previous evaluation | |
Protected Attributes | |
| CouNumber | value_ |
| Value of the (previously evaluated) expression. | |
storage class for previously evaluated expressions
Definition at line 23 of file CouenneExprStore.hpp.
| Couenne::exprStore::exprStore | ( | expression * | copy | ) | [inline] |
Constructor.
Definition at line 33 of file CouenneExprStore.hpp.
Store constructor -- Must go.
Definition at line 37 of file CouenneExprStore.hpp.
| virtual Couenne::exprStore::~exprStore | ( | ) | [inline, virtual] |
Destructor.
Definition at line 43 of file CouenneExprStore.hpp.
| void exprStore::print | ( | std::ostream & | out = std::cout, |
|
| bool | descend = false | |||
| ) | const [virtual] |
Printing.
printing method
Reimplemented from Couenne::exprCopy.
Definition at line 238 of file expression.cpp.
| virtual expression* Couenne::exprStore::clone | ( | Domain * | d = NULL |
) | const [inline, virtual] |
Cloning method.
Reimplemented from Couenne::exprCopy.
Definition at line 51 of file CouenneExprStore.hpp.
| virtual CouNumber Couenne::exprStore::operator() | ( | ) | [inline, virtual] |
function for evaluating the expression -- returns value of exprCopy pointed to, which returns a value stored from a previous evaluation
Reimplemented from Couenne::exprCopy.
Definition at line 57 of file CouenneExprStore.hpp.
CouNumber Couenne::exprStore::value_ [protected] |
Value of the (previously evaluated) expression.
Reimplemented from Couenne::exprCopy.
Definition at line 28 of file CouenneExprStore.hpp.
1.6.1