Row Cut Class which refers back to row which created it. More...
#include <OsiRowCut.hpp>
Public Member Functions | |
Which row | |
int | whichRow () const |
Get row. | |
void | setWhichRow (int row) |
Set row. | |
Constructors and destructors | |
OsiRowCut2 & | operator= (const OsiRowCut2 &rhs) |
Assignment operator. | |
OsiRowCut2 (const OsiRowCut2 &) | |
Copy constructor. | |
virtual OsiRowCut * | clone () const |
Clone. | |
OsiRowCut2 (int row=-1) | |
Default Constructor. | |
virtual | ~OsiRowCut2 () |
Destructor. | |
Private Attributes | |
Private member data | |
int | whichRow_ |
Which row. |
Row Cut Class which refers back to row which created it.
It may be useful to strengthen a row rather than add a cut. To do this we need to know which row is strengthened. This trivial extension to OsiRowCut does that.
Definition at line 298 of file OsiRowCut.hpp.
OsiRowCut2::OsiRowCut2 | ( | const OsiRowCut2 & | ) |
Copy constructor.
OsiRowCut2::OsiRowCut2 | ( | int | row = -1 |
) |
Default Constructor.
virtual OsiRowCut2::~OsiRowCut2 | ( | ) | [virtual] |
Destructor.
int OsiRowCut2::whichRow | ( | ) | const [inline] |
Get row.
Definition at line 305 of file OsiRowCut.hpp.
void OsiRowCut2::setWhichRow | ( | int | row | ) | [inline] |
Set row.
Definition at line 308 of file OsiRowCut.hpp.
OsiRowCut2& OsiRowCut2::operator= | ( | const OsiRowCut2 & | rhs | ) |
Assignment operator.
Reimplemented from OsiRowCut.
int OsiRowCut2::whichRow_ [private] |
Which row.
Definition at line 336 of file OsiRowCut.hpp.