Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OsiRowCut2 Class Reference

Row Cut Class which refers back to row which created it. More...

#include <OsiRowCut.hpp>

Inheritance diagram for OsiRowCut2:

OsiRowCut OsiCut List of all members.

Public Member Functions

Which row
int whichRow () const
 Get row.
void setWhichRow (int row)
 Set row.
Constructors and destructors
OsiRowCut2operator= (const OsiRowCut2 &rhs)
 Assignment operator.
 OsiRowCut2 (const OsiRowCut2 &)
 Copy constructor.
virtual OsiRowCutclone () const
 Clone.
 OsiRowCut2 (int row=-1)
 Default Constructor.
virtual ~OsiRowCut2 ()
 Destructor.

Private Attributes

Private member data
int whichRow_
 Which row.

Detailed Description

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 288 of file OsiRowCut.hpp.


Constructor & Destructor Documentation

OsiRowCut2::OsiRowCut2 const OsiRowCut2  ) 
 

Copy constructor.

OsiRowCut2::OsiRowCut2 int  row = -1  ) 
 

Default Constructor.

virtual OsiRowCut2::~OsiRowCut2  )  [virtual]
 

Destructor.


Member Function Documentation

int OsiRowCut2::whichRow  )  const [inline]
 

Get row.

Definition at line 295 of file OsiRowCut.hpp.

void OsiRowCut2::setWhichRow int  row  )  [inline]
 

Set row.

Definition at line 298 of file OsiRowCut.hpp.

References whichRow_.

OsiRowCut2& OsiRowCut2::operator= const OsiRowCut2 rhs  ) 
 

Assignment operator.

virtual OsiRowCut* OsiRowCut2::clone  )  const [virtual]
 

Clone.

Reimplemented from OsiRowCut.


Member Data Documentation

int OsiRowCut2::whichRow_ [private]
 

Which row.

Definition at line 326 of file OsiRowCut.hpp.

Referenced by setWhichRow().


The documentation for this class was generated from the following file:
Generated on Sun Jun 11 02:00:41 2006 by  doxygen 1.3.9.1