CbcCompareBase Class Reference

#include <CbcCompareBase.hpp>

Inheritance diagram for CbcCompareBase:

Inheritance graph
[legend]
Collaboration diagram for CbcCompareBase:

Collaboration graph
[legend]
List of all members.

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)
CbcCompareBaseoperator= (const CbcCompareBase &rhs)
virtual CbcCompareBaseclone () 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

CbcCompareBasetest_
bool threaded_

Detailed Description

Definition at line 24 of file CbcCompareBase.hpp.


Constructor & Destructor Documentation

CbcCompareBase::CbcCompareBase (  )  [inline]

Definition at line 27 of file CbcCompareBase.hpp.

References test_, and threaded_.

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.

References test_, and threaded_.


Member Function Documentation

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]

Definition at line 58 of file CbcCompareBase.hpp.

References test_, and threaded_.

virtual CbcCompareBase* CbcCompareBase::clone (  )  const [inline, virtual]

Clone.

Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.

Definition at line 64 of file CbcCompareBase.hpp.

virtual bool CbcCompareBase::test ( CbcNode x,
CbcNode y 
) [inline, virtual]

This is test function.

Reimplemented in CbcCompareUser, CbcCompareDepth, CbcCompareObjective, CbcCompareDefault, and CbcCompareEstimate.

Definition at line 68 of file CbcCompareBase.hpp.

Referenced by alternateTest(), CbcCompare::compareNodes(), CbcCompare::operator()(), and operator()().

virtual bool CbcCompareBase::alternateTest ( CbcNode x,
CbcNode y 
) [inline, virtual]

This is alternate test function.

Reimplemented in CbcCompareUser.

Definition at line 71 of file CbcCompareBase.hpp.

References test().

Referenced by CbcCompare::alternateTest().

bool CbcCompareBase::operator() ( CbcNode x,
CbcNode y 
) [inline]

Definition at line 73 of file CbcCompareBase.hpp.

References test().

bool CbcCompareBase::equalityTest ( CbcNode x,
CbcNode y 
) const [inline]

Further test if everything else equal.

Definition at line 77 of file CbcCompareBase.hpp.

References CbcNode::nodeInfo(), CbcNode::nodeNumber(), CbcNodeInfo::nodeNumber(), and threaded_.

void CbcCompareBase::sayThreaded (  )  [inline]

Say threaded.

Definition at line 96 of file CbcCompareBase.hpp.

References threaded_.


Member Data Documentation

CbcCompareBase* CbcCompareBase::test_ [protected]

Definition at line 99 of file CbcCompareBase.hpp.

Referenced by CbcCompareBase(), and operator=().

bool CbcCompareBase::threaded_ [protected]

Definition at line 101 of file CbcCompareBase.hpp.

Referenced by CbcCompareBase(), equalityTest(), operator=(), and sayThreaded().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:12:37 2010 for Coin-All by  doxygen 1.4.7