#include <CbcCountRowCut.hpp>
Public Member Functions | |
void | increment (int change=1) |
Increment the number of references. | |
int | decrement (int change=1) |
Decrement the number of references and return the number left. | |
void | setInfo (CbcNodeInfo *, int whichOne) |
Set the information associating this cut with a node. | |
int | numberPointingToThis () |
Number of other CbcNodeInfo objects pointing to this row cut. | |
int | whichCutGenerator () const |
Which generator for cuts - as user order. | |
Constructors & destructors | |
CbcCountRowCut () | |
Default Constructor. | |
CbcCountRowCut (const OsiRowCut &) | |
`Copy' constructor using an OsiRowCut | |
CbcCountRowCut (const OsiRowCut &, CbcNodeInfo *, int whichOne, int whichGenerator=-1) | |
`Copy' constructor using an OsiRowCut and an CbcNodeInfo | |
virtual | ~CbcCountRowCut () |
Destructor. | |
Private Member Functions | |
CbcCountRowCut (const CbcCountRowCut &) | |
Standard copy is illegal (reference counts would be incorrect). | |
CbcCountRowCut & | operator= (const CbcCountRowCut &rhs) |
Standard assignment is illegal (reference counts would be incorrect). | |
Private Attributes | |
CbcNodeInfo * | owner_ |
Backward pointer to owning CbcNodeInfo. | |
int | ownerCut_ |
Index of cut in owner's cut set (cuts_ ). | |
int | numberPointingToThis_ |
Number of other CbcNodeInfo objects pointing to this cut. | |
int | whichCutGenerator_ |
Which generator created this cut. |
CbcCountRowCut is an OsiRowCut object augmented with bookkeeping information: a reference count and information that specifies the the generator that created the cut and the node to which it's associated.
The general principles for handling the reference count are as follows:
Definition at line 32 of file CbcCountRowCut.hpp.
|
Default Constructor.
|
|
`Copy' constructor using an OsiRowCut
|
|
`Copy' constructor using an OsiRowCut and an CbcNodeInfo
|
|
Destructor.
|
|
Standard copy is illegal (reference counts would be incorrect).
|
|
Increment the number of references.
|
|
Decrement the number of references and return the number left.
|
|
Set the information associating this cut with a node. An CbcNodeInfo object and an index in the cut set of the node. For locally valid cuts, the node will be the search tree node where the cut was generated. For globally valid cuts, it's the node where the cut was activated. |
|
Number of other CbcNodeInfo objects pointing to this row cut.
Definition at line 74 of file CbcCountRowCut.hpp. |
|
Which generator for cuts - as user order.
Definition at line 78 of file CbcCountRowCut.hpp. |
|
Standard assignment is illegal (reference counts would be incorrect).
|
|
Backward pointer to owning CbcNodeInfo.
Definition at line 95 of file CbcCountRowCut.hpp. |
|
Index of cut in owner's cut set (cuts_ ).
Definition at line 99 of file CbcCountRowCut.hpp. |
|
Number of other CbcNodeInfo objects pointing to this cut.
Definition at line 102 of file CbcCountRowCut.hpp. |
|
Which generator created this cut.
Definition at line 105 of file CbcCountRowCut.hpp. |