Cbc
2.8.12
|
#include <CbcCompareBase.hpp>
Public Member Functions | |
CbcCompareBase () | |
virtual bool | newSolution (CbcModel *) |
Reconsider behaviour after discovering a new solution. More... | |
virtual bool | newSolution (CbcModel *, double, int) |
Reconsider behaviour after discovering a new solution. More... | |
virtual bool | every1000Nodes (CbcModel *, int) |
virtual bool | fullScan () const |
Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled. More... | |
virtual | ~CbcCompareBase () |
virtual void | generateCpp (FILE *) |
Create C++ lines to get to current state. More... | |
CbcCompareBase (const CbcCompareBase &rhs) | |
CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
virtual CbcCompareBase * | clone () const |
Clone. More... | |
virtual bool | test (CbcNode *, CbcNode *) |
This is test function. More... | |
virtual bool | alternateTest (CbcNode *x, CbcNode *y) |
This is alternate test function. More... | |
bool | operator() (CbcNode *x, CbcNode *y) |
bool | equalityTest (CbcNode *x, CbcNode *y) const |
Further test if everything else equal. More... | |
void | sayThreaded () |
Say threaded. More... | |
Protected Attributes | |
CbcCompareBase * | test_ |
bool | threaded_ |
Definition at line 27 of file CbcCompareBase.hpp.
|
inline |
Definition at line 30 of file CbcCompareBase.hpp.
|
inlinevirtual |
Definition at line 75 of file CbcCompareBase.hpp.
|
inline |
Definition at line 80 of file CbcCompareBase.hpp.
|
inlinevirtual |
Reconsider behaviour after discovering a new solution.
This allows any method to change its behaviour. It is called after each solution.
The method should return true if changes are made which will alter the evaluation criteria applied to a node. (So that in cases where the search tree is sorted, it can be properly rebuilt.)
Definition at line 45 of file CbcCompareBase.hpp.
|
inlinevirtual |
Reconsider behaviour after discovering a new solution.
This allows any method to change its behaviour. It is called after each solution.
The method should return true if changes are made which will alter the evaluation criteria applied to a node. (So that in cases where the search tree is sorted, it can be properly rebuilt.)
Reimplemented in CbcCompareDefault.
Definition at line 57 of file CbcCompareBase.hpp.
|
inlinevirtual |
Reimplemented in CbcCompareDefault.
Definition at line 64 of file CbcCompareBase.hpp.
|
inlinevirtual |
Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled.
Definition at line 71 of file CbcCompareBase.hpp.
|
inlinevirtual |
Create C++ lines to get to current state.
Reimplemented in CbcCompareDefault, CbcCompareEstimate, CbcCompareObjective, and CbcCompareDepth.
Definition at line 77 of file CbcCompareBase.hpp.
|
inline |
Definition at line 86 of file CbcCompareBase.hpp.
|
inlinevirtual |
Clone.
Reimplemented in CbcCompareDefault, CbcCompareEstimate, CbcCompareObjective, and CbcCompareDepth.
Definition at line 95 of file CbcCompareBase.hpp.
This is test function.
Reimplemented in CbcCompareDefault, CbcCompareObjective, CbcCompareDepth, and CbcCompareEstimate.
Definition at line 101 of file CbcCompareBase.hpp.
This is alternate test function.
Definition at line 106 of file CbcCompareBase.hpp.
Definition at line 110 of file CbcCompareBase.hpp.
Further test if everything else equal.
Definition at line 114 of file CbcCompareBase.hpp.
|
inline |
Say threaded.
Definition at line 132 of file CbcCompareBase.hpp.
|
protected |
Definition at line 136 of file CbcCompareBase.hpp.
|
protected |
Definition at line 138 of file CbcCompareBase.hpp.