#include <CbcCompareBase.hpp>
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] |
Definition at line 27 of file CbcCompareBase.hpp.
virtual CbcCompareBase::~CbcCompareBase | ( | ) | [inline, virtual] |
Definition at line 49 of file CbcCompareBase.hpp.
CbcCompareBase::CbcCompareBase | ( | const CbcCompareBase & | rhs | ) | [inline] |
Definition at line 54 of file CbcCompareBase.hpp.
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] |
Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.
Definition at line 58 of file CbcCompareBase.hpp.
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.
This is alternate test function.
Reimplemented in CbcCompareUser.
Definition at line 71 of file CbcCompareBase.hpp.
Definition at line 73 of file CbcCompareBase.hpp.
Further test if everything else equal.
Definition at line 77 of file CbcCompareBase.hpp.
void CbcCompareBase::sayThreaded | ( | ) | [inline] |
Say threaded.
Definition at line 96 of file CbcCompareBase.hpp.
CbcCompareBase* CbcCompareBase::test_ [protected] |
Definition at line 99 of file CbcCompareBase.hpp.
bool CbcCompareBase::threaded_ [protected] |
Definition at line 101 of file CbcCompareBase.hpp.