11 #ifndef COUENNE_EXPRBOUND_HPP
12 #define COUENNE_EXPRBOUND_HPP
59 void print (std::ostream &out = std::cout,
108 void print (std::ostream &out = std::cout,
exprLowerBound * clone(Domain *d=NULL) const
cloning method
exprLowerBound(int varIndex, Domain *d=NULL)
Constructor.
virtual enum expr_type code()
code for comparisons
void print(std::ostream &out=std::cout, bool=false) const
Print to iostream.
enum nodeType Type() const
Node type.
Domain * domain_
Pointer to a descriptor of the current point/bounds.
CouNumber operator()()
return the value of the variable
exprLowerBound(const exprLowerBound &src, Domain *d=NULL)
Copy constructor.
virtual enum expr_type code()
code for comparisons
enum nodeType Type() const
Node type.
expression * differentiate(int)
differentiation
expression * differentiate(int)
differentiation
exprUpperBound * clone(Domain *d=NULL) const
cloning method
exprUpperBound(int varIndex, Domain *d=NULL)
Constructor.
virtual CouNumber & ub()
Get/set upper bound value.
void print(std::ostream &out=std::cout, bool=false) const
Print to iostream.
exprUpperBound(const exprUpperBound &src, Domain *d=NULL)
Copy constructor.
double CouNumber
main number type in Couenne
nodeType
type of a node in an expression tree
virtual int Linearity()
get a measure of "how linear" the expression is:
dig_type
type of digging when filling the dependence list
expr_type
code returned by the method expression::code()
int varIndex_
The index of the variable.
virtual int Linearity()
get a measure of "how linear" the expression is:
int dependsOn(int *, int, enum dig_type type=STOP_AT_AUX)
dependence on variable set
int dependsOn(int *, int, enum dig_type type=STOP_AT_AUX)
dependence on variable set
These are bound expression classes.
CouNumber operator()()
return the value of the variable
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
virtual CouNumber & lb()
Get/set lower bound value.