#include <CbcCompareBase.hpp>
Inheritance diagram for CbcCompareBase:
Public Member Functions | |
CbcCompareBase () | |
virtual void | newSolution (CbcModel *model) |
virtual void | newSolution (CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous) |
virtual bool | every1000Nodes (CbcModel *model, int numberNodes) |
virtual bool | fullScan () const |
Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled. | |
virtual | ~CbcCompareBase () |
virtual void | generateCpp (FILE *fp) |
Create C++ lines to get to current state. | |
CbcCompareBase (const CbcCompareBase &rhs) | |
CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
virtual CbcCompareBase * | clone () const |
Clone. | |
virtual bool | test (CbcNode *x, CbcNode *y) |
This is test function. | |
virtual bool | alternateTest (CbcNode *x, CbcNode *y) |
This is alternate test function. | |
bool | operator() (CbcNode *x, CbcNode *y) |
bool | equalityTest (CbcNode *x, CbcNode *y) const |
Further test if everything else equal. | |
void | sayThreaded () |
Say threaded. | |
Protected Attributes | |
CbcCompareBase * | test_ |
bool | threaded_ |
Definition at line 24 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | ) | [inline] |
virtual CbcCompareBase::~CbcCompareBase | ( | ) | [inline, virtual] |
Definition at line 49 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | const CbcCompareBase & | rhs | ) | [inline] |
virtual void CbcCompareBase::newSolution | ( | CbcModel * | model | ) | [inline, virtual] |
Definition at line 31 of file CbcCompareBase.hpp.
virtual void CbcCompareBase::newSolution | ( | CbcModel * | model, | |
double | objectiveAtContinuous, | |||
int | numberInfeasibilitiesAtContinuous | |||
) | [inline, virtual] |
Reimplemented in CbcCompareUser, and CbcCompareDefault.
Definition at line 35 of file CbcCompareBase.hpp.
virtual bool CbcCompareBase::every1000Nodes | ( | CbcModel * | model, | |
int | numberNodes | |||
) | [inline, virtual] |
Reimplemented in CbcCompareUser, and CbcCompareDefault.
Definition at line 42 of file CbcCompareBase.hpp.
virtual bool CbcCompareBase::fullScan | ( | ) | const [inline, virtual] |
Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled.
Reimplemented in CbcCompareUser.
Definition at line 47 of file CbcCompareBase.hpp.
virtual void CbcCompareBase::generateCpp | ( | FILE * | fp | ) | [inline, virtual] |
Create C++ lines to get to current state.
Reimplemented in CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
Definition at line 51 of file CbcCompareBase.hpp.
CbcCompareBase& CbcCompareBase::operator= | ( | const CbcCompareBase & | rhs | ) | [inline] |
virtual CbcCompareBase* CbcCompareBase::clone | ( | ) | const [inline, virtual] |
Clone.
Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
Definition at line 64 of file CbcCompareBase.hpp.
This is test function.
Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
Definition at line 68 of file CbcCompareBase.hpp.
Referenced by alternateTest(), CbcCompare::compareNodes(), CbcCompare::operator()(), and operator()().
This is alternate test function.
Reimplemented in CbcCompareUser.
Definition at line 71 of file CbcCompareBase.hpp.
References test().
Referenced by CbcCompare::alternateTest().
Further test if everything else equal.
Definition at line 77 of file CbcCompareBase.hpp.
References CbcNode::nodeInfo(), CbcNode::nodeNumber(), CbcNodeInfo::nodeNumber(), and threaded_.
void CbcCompareBase::sayThreaded | ( | ) | [inline] |
CbcCompareBase* CbcCompareBase::test_ [protected] |
bool CbcCompareBase::threaded_ [protected] |
Definition at line 101 of file CbcCompareBase.hpp.
Referenced by CbcCompareBase(), equalityTest(), operator=(), and sayThreaded().