This is the class from which the user should derive her own algorithmic variables. More...
#include <BCP_var.hpp>
Public Member Functions | |
Constructor and destructor | |
BCP_var_algo (const BCP_var_t var_type, const double obj, const double lb, const double ub) | |
This constructor just sets the data members to the given values. | |
virtual | ~BCP_var_algo ()=0 |
The destructor deletes the object. | |
Query methods | |
BCP_object_t | obj_type () const |
Return BCP_AlgoObj indicating that the object is an algorithmic variable. | |
Private Member Functions | |
Disabled methods | |
BCP_var_algo () | |
The default constructor is declared but not defined to disable it. | |
BCP_var_algo (const BCP_var_algo &) | |
The copy constructor is declared but not defined to disable it. | |
BCP_var_algo & | operator= (const BCP_var_algo &) |
The assignment operator is declared but not defined to disable it. |
This is the class from which the user should derive her own algorithmic variables.
Note that such an object cannot be constructed (it has pure virtual methods), only objects with types derived from BCP_var_algo can be created. Such objects are constructed either directly by the user or by the unpacking functions of the BCP_xx_user
classes.
Definition at line 316 of file BCP_var.hpp.
BCP_var_algo::BCP_var_algo | ( | ) | [private] |
The default constructor is declared but not defined to disable it.
BCP_var_algo::BCP_var_algo | ( | const BCP_var_algo & | ) | [private] |
The copy constructor is declared but not defined to disable it.
BCP_var_algo::BCP_var_algo | ( | const BCP_var_t | var_type, | |
const double | obj, | |||
const double | lb, | |||
const double | ub | |||
) | [inline] |
This constructor just sets the data members to the given values.
See also the constructor of BCP_var.
Definition at line 333 of file BCP_var.hpp.
virtual BCP_var_algo::~BCP_var_algo | ( | ) | [pure virtual] |
The destructor deletes the object.
BCP_var_algo& BCP_var_algo::operator= | ( | const BCP_var_algo & | ) | [private] |
The assignment operator is declared but not defined to disable it.
Reimplemented from BCP_var.
BCP_object_t BCP_var_algo::obj_type | ( | ) | const [inline, virtual] |
Return BCP_AlgoObj
indicating that the object is an algorithmic variable.
Implements BCP_var.
Definition at line 344 of file BCP_var.hpp.