Dip-All
0.91.0
|
#include <CbcCountRowCut.hpp>
Public Member Functions | |
CbcRowCuts (int initialMaxSize=0, int hashMultiplier=4) | |
~CbcRowCuts () | |
CbcRowCuts (const CbcRowCuts &rhs) | |
CbcRowCuts & | operator= (const CbcRowCuts &rhs) |
OsiRowCut2 * | cut (int sequence) const |
int | numberCuts () const |
int | sizeRowCuts () const |
OsiRowCut * | rowCutPtr (int sequence) |
void | eraseRowCut (int sequence) |
int | addCutIfNotDuplicate (const OsiRowCut &cut, int whichType=0) |
int | addCutIfNotDuplicateWhenGreedy (const OsiRowCut &cut, int whichType=0) |
void | addCuts (OsiCuts &cs) |
void | truncate (int numberAfter) |
Private Attributes | |
OsiRowCut2 ** | rowCut_ |
CoinHashLink * | hash_ |
Hash table. More... | |
int | size_ |
int | hashMultiplier_ |
int | numberCuts_ |
int | lastHash_ |
Definition at line 134 of file CbcCountRowCut.hpp.
CbcRowCuts::CbcRowCuts | ( | int | initialMaxSize = 0 , |
int | hashMultiplier = 4 |
||
) |
CbcRowCuts::~CbcRowCuts | ( | ) |
CbcRowCuts::CbcRowCuts | ( | const CbcRowCuts & | rhs | ) |
CbcRowCuts& CbcRowCuts::operator= | ( | const CbcRowCuts & | rhs | ) |
|
inline |
Definition at line 141 of file CbcCountRowCut.hpp.
References rowCut_.
|
inline |
Definition at line 143 of file CbcCountRowCut.hpp.
References numberCuts_.
|
inline |
Definition at line 145 of file CbcCountRowCut.hpp.
References numberCuts_.
|
inline |
Definition at line 147 of file CbcCountRowCut.hpp.
References rowCut_.
void CbcRowCuts::eraseRowCut | ( | int | sequence | ) |
int CbcRowCuts::addCutIfNotDuplicate | ( | const OsiRowCut & | cut, |
int | whichType = 0 |
||
) |
int CbcRowCuts::addCutIfNotDuplicateWhenGreedy | ( | const OsiRowCut & | cut, |
int | whichType = 0 |
||
) |
void CbcRowCuts::truncate | ( | int | numberAfter | ) |
|
private |
Definition at line 159 of file CbcCountRowCut.hpp.
Referenced by cut(), and rowCutPtr().
|
private |
Hash table.
Definition at line 161 of file CbcCountRowCut.hpp.
|
private |
Definition at line 162 of file CbcCountRowCut.hpp.
|
private |
Definition at line 163 of file CbcCountRowCut.hpp.
|
private |
Definition at line 164 of file CbcCountRowCut.hpp.
Referenced by numberCuts(), and sizeRowCuts().
|
private |
Definition at line 165 of file CbcCountRowCut.hpp.