#include <CbcCompareUser.hpp>
Public Member Functions | |
CbcCompareUser () | |
CbcCompareUser (double weight) | |
CbcCompareUser (const CbcCompareUser &rhs) | |
CbcCompareUser & | operator= (const CbcCompareUser &rhs) |
virtual CbcCompareBase * | clone () const |
Clone. More... | |
~CbcCompareUser () | |
virtual bool | test (CbcNode *x, CbcNode *y) |
This is test function. More... | |
virtual bool | alternateTest (CbcNode *x, CbcNode *y) |
This is alternate test function. More... | |
virtual void | newSolution (CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous) |
virtual bool | fullScan () const |
Returns true if wants code to do scan with alternate criterion. More... | |
virtual bool | every1000Nodes (CbcModel *model, int numberNodes) |
double | getWeight () const |
void | setWeight (double weight) |
![]() | |
CbcCompareBase () | |
virtual void | newSolution (CbcModel *) |
virtual | ~CbcCompareBase () |
virtual void | generateCpp (FILE *) |
Create C++ lines to get to current state. More... | |
CbcCompareBase (const CbcCompareBase &rhs) | |
CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
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... | |
CbcCompareBase () | |
virtual void | newSolution (CbcModel *) |
virtual | ~CbcCompareBase () |
virtual void | generateCpp (FILE *) |
Create C++ lines to get to current state. More... | |
CbcCompareBase (const CbcCompareBase &rhs) | |
CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
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 | |
double | weight_ |
double | saveWeight_ |
int | numberSolutions_ |
int | count_ |
int | treeSize_ |
![]() | |
CbcCompareBase * | test_ |
bool | threaded_ |
Definition at line 14 of file CbcCompareUser.hpp.
CbcCompareUser::CbcCompareUser | ( | ) |
CbcCompareUser::CbcCompareUser | ( | double | weight) |
CbcCompareUser::CbcCompareUser | ( | const CbcCompareUser & | rhs) |
CbcCompareUser::~CbcCompareUser | ( | ) |
CbcCompareUser& CbcCompareUser::operator= | ( | const CbcCompareUser & | rhs) |
|
virtual |
Clone.
Reimplemented from CbcCompareBase.
This is test function.
Reimplemented from CbcCompareBase.
This is alternate test function.
Reimplemented from CbcCompareBase.
|
virtual |
Reimplemented from CbcCompareBase.
|
virtual |
Returns true if wants code to do scan with alternate criterion.
Reimplemented from CbcCompareBase.
|
virtual |
Reimplemented from CbcCompareBase.
|
inline |
Definition at line 50 of file CbcCompareUser.hpp.
|
inline |
Definition at line 52 of file CbcCompareUser.hpp.
|
protected |
Definition at line 56 of file CbcCompareUser.hpp.
|
protected |
Definition at line 58 of file CbcCompareUser.hpp.
|
protected |
Definition at line 60 of file CbcCompareUser.hpp.
|
mutableprotected |
Definition at line 62 of file CbcCompareUser.hpp.
|
protected |
Definition at line 64 of file CbcCompareUser.hpp.