#include <CbcCompareUser.hpp>
|
| 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 bool | newSolution (CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous) |
| Reconsider behaviour after discovering a new solution. More...
|
|
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 bool | newSolution (CbcModel *) |
| Reconsider behaviour after discovering a new solution. More...
|
|
virtual bool | newSolution (CbcModel *, double, int) |
| Reconsider behaviour after discovering a new solution. More...
|
|
virtual bool | every1000Nodes (CbcModel *, int) |
|
virtual bool | fullScan () const |
| Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled. More...
|
|
virtual | ~CbcCompareBase () |
|
virtual void | generateCpp (FILE *) |
| Create C++ lines to get to current state. More...
|
|
| CbcCompareBase (const CbcCompareBase &rhs) |
|
CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
|
virtual CbcCompareBase * | clone () const |
| Clone. More...
|
|
virtual bool | test (CbcNode *, CbcNode *) |
| This is test function. More...
|
|
virtual bool | alternateTest (CbcNode *x, CbcNode *y) |
| This is alternate test function. More...
|
|
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...
|
|
Definition at line 17 of file CbcCompareUser.hpp.
◆ CbcCompareUser() [1/3]
CbcCompareUser::CbcCompareUser |
( |
| ) |
|
◆ CbcCompareUser() [2/3]
CbcCompareUser::CbcCompareUser |
( |
double |
weight | ) |
|
◆ CbcCompareUser() [3/3]
◆ ~CbcCompareUser()
CbcCompareUser::~CbcCompareUser |
( |
| ) |
|
◆ operator=()
◆ clone()
◆ test()
◆ alternateTest()
virtual bool CbcCompareUser::alternateTest |
( |
CbcNode * |
x, |
|
|
CbcNode * |
y |
|
) |
| |
|
virtual |
◆ newSolution()
virtual bool CbcCompareUser::newSolution |
( |
CbcModel * |
, |
|
|
double |
, |
|
|
int |
|
|
) |
| |
|
virtual |
Reconsider behaviour after discovering a new solution.
This allows any method to change its behaviour. It is called after each solution.
The method should return true if changes are made which will alter the evaluation criteria applied to a node. (So that in cases where the search tree is sorted, it can be properly rebuilt.)
Reimplemented from CbcCompareBase.
◆ fullScan()
virtual bool CbcCompareUser::fullScan |
( |
| ) |
const |
|
virtual |
Returns true if wants code to do scan with alternate criterion.
Reimplemented from CbcCompareBase.
◆ every1000Nodes()
virtual bool CbcCompareUser::every1000Nodes |
( |
CbcModel * |
model, |
|
|
int |
numberNodes |
|
) |
| |
|
virtual |
◆ getWeight()
double CbcCompareUser::getWeight |
( |
| ) |
const |
|
inline |
◆ setWeight()
void CbcCompareUser::setWeight |
( |
double |
weight | ) |
|
|
inline |
◆ weight_
double CbcCompareUser::weight_ |
|
protected |
◆ saveWeight_
double CbcCompareUser::saveWeight_ |
|
protected |
◆ numberSolutions_
int CbcCompareUser::numberSolutions_ |
|
protected |
◆ count_
int CbcCompareUser::count_ |
|
mutableprotected |
◆ treeSize_
int CbcCompareUser::treeSize_ |
|
protected |
The documentation for this class was generated from the following file: