Core cuts are the cuts that always stay in the LP formulation. More...
#include <BCP_cut.hpp>
Public Member Functions | |
Constructors and desctructor | |
BCP_cut_core (const BCP_cut_core &x) | |
The copy constructor makes a replica of the argument. | |
BCP_cut_core (const double lb, const double ub) | |
This constructor just sets the data members to the given values. | |
~BCP_cut_core () | |
The destructor deletes the object. | |
Query methods | |
BCP_object_t | obj_type () const |
Return BCP_CoreObj indicating that the object is a core cut. | |
Private Member Functions | |
Disabled methods | |
BCP_cut_core () | |
The default constructor is declared but not defined to disable it. | |
BCP_cut_core & | operator= (const BCP_cut_core &) |
The assignment operator is declared but not defined to disable it. |
Core cuts are the cuts that always stay in the LP formulation.
Therefore the data members in the base class are quite sufficient to describe the cut. The only thing that has to be done here is overriding the pure virtual method obj_type().
Definition at line 192 of file BCP_cut.hpp.
BCP_cut_core::BCP_cut_core | ( | ) | [private] |
The default constructor is declared but not defined to disable it.
BCP_cut_core::BCP_cut_core | ( | const BCP_cut_core & | x | ) | [inline] |
The copy constructor makes a replica of the argument.
Definition at line 207 of file BCP_cut.hpp.
BCP_cut_core::BCP_cut_core | ( | const double | lb, | |
const double | ub | |||
) | [inline] |
This constructor just sets the data members to the given values.
See also the constructor of BCP_cut.
Definition at line 214 of file BCP_cut.hpp.
BCP_cut_core::~BCP_cut_core | ( | ) | [inline] |
The destructor deletes the object.
Definition at line 216 of file BCP_cut.hpp.
BCP_cut_core& BCP_cut_core::operator= | ( | const BCP_cut_core & | ) | [private] |
The assignment operator is declared but not defined to disable it.
Reimplemented from BCP_cut.
BCP_object_t BCP_cut_core::obj_type | ( | ) | const [inline, virtual] |
Return BCP_CoreObj
indicating that the object is a core cut.
Implements BCP_cut.
Definition at line 223 of file BCP_cut.hpp.