![]() |
MAiNGO
|
Auxiliary struct for representing bounds on an optimization variable. More...
#include <babOptVar.h>
Public Member Functions | |
Bounds (const double lowerIn, const double upperIn) | |
Constructor, checks that specified lower bound is smaller than upper bound (this information is only stored, but not acted upon) More... | |
Bounds (Bounds &&)=default | |
Bounds (const Bounds &)=default | |
Public Attributes | |
const double | lower |
const double | upper |
const double | consistent |
Private Member Functions | |
Bounds & | operator= (const Bounds &) |
Friends | |
std::ostream & | operator<< (std::ostream &os, Bounds const &b) |
Overloaded outstream operator for nicer output. More... | |
Auxiliary struct for representing bounds on an optimization variable.
This struct is only used to initialize optimization variables
|
inline |
Constructor, checks that specified lower bound is smaller than upper bound (this information is only stored, but not acted upon)
[in] | lowerIn | is the specified lower bound on the optimization variable |
[in] | upperIn | is the specified upper bound on the optimization variable |
|
default |
Default copy constructor
|
default |
Default copy constructor
default assignment operator declared private to prevent use
|
friend |
Overloaded outstream operator for nicer output.
[out] | os | is the outstream to be written to |
[in] | b | are the bounds to be written |
const double babBase::Bounds::consistent |
Flag indicating whether the bounds are consisten (i.e., lower<=upper)
const double babBase::Bounds::lower |
Lower bound on the optimization variable
const double babBase::Bounds::upper |
Upper bound on the optimization variable