#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. | |
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) |
Protected Attributes | |
CbcCompareBase * | test_ |
Definition at line 23 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | ) | [inline] |
virtual CbcCompareBase::~CbcCompareBase | ( | ) | [inline, virtual] |
Definition at line 46 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.
Reimplemented in CbcCompareUser.
Definition at line 44 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 48 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 64 of file CbcCompareBase.hpp.
Referenced by alternateTest(), CbcCompare::operator()(), and operator()().
This is alternate test function.
Reimplemented in CbcCompareUser.
Definition at line 67 of file CbcCompareBase.hpp.
References test().
Referenced by CbcCompare::alternateTest().
CbcCompareBase* CbcCompareBase::test_ [protected] |