#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 =0 |
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. | |
Protected Attributes | |
CbcCompareBase * | test_ |
Definition at line 23 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | ) | [inline] |
virtual CbcCompareBase::~CbcCompareBase | ( | ) | [inline, virtual] |
Definition at line 48 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | const CbcCompareBase & | rhs | ) | [inline] |
virtual void CbcCompareBase::newSolution | ( | CbcModel * | model | ) | [inline, virtual] |
Definition at line 30 of file CbcCompareBase.hpp.
virtual void CbcCompareBase::newSolution | ( | CbcModel * | model, | |
double | objectiveAtContinuous, | |||
int | numberInfeasibilitiesAtContinuous | |||
) | [inline, virtual] |
Reimplemented in CbcCompareUser, and CbcCompareDefault.
Definition at line 34 of file CbcCompareBase.hpp.
virtual bool CbcCompareBase::every1000Nodes | ( | CbcModel * | model, | |
int | numberNodes | |||
) | [inline, virtual] |
Reimplemented in CbcCompareUser, and CbcCompareDefault.
Definition at line 41 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 46 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 50 of file CbcCompareBase.hpp.
CbcCompareBase& CbcCompareBase::operator= | ( | const CbcCompareBase & | rhs | ) | [inline] |
virtual CbcCompareBase* CbcCompareBase::clone | ( | ) | const [pure virtual] |
Clone.
Implemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
This is test function.
Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
Definition at line 66 of file CbcCompareBase.hpp.
Referenced by alternateTest(), CbcCompare::operator()(), and operator()().
This is alternate test function.
Reimplemented in CbcCompareUser.
Definition at line 69 of file CbcCompareBase.hpp.
References test().
Referenced by CbcCompare::alternateTest().
Further test if everything else equal.
Definition at line 75 of file CbcCompareBase.hpp.
References CbcNode::nodeInfo(), and CbcNodeInfo::nodeNumber().
CbcCompareBase* CbcCompareBase::test_ [protected] |