source: branches/sandbox/Cbc/src/CbcCompareEstimate.hpp @ 1314

Last change on this file since 1314 was 1314, checked in by EdwinStraver, 10 years ago

Broke up CbcCompareActual?.cpp into CbcCompareDepth?, CbcCompareDefault?, CbcCompareObjective? and CbcCompareEstimate?.
Carved CbcCutModifier? and CbcCutSubsetModifier? out of CbcCutGenerator?.
Updated spreadsheets.

File size: 1.1 KB
Line 
1//Edwin 11/25/09 carved out of CbcCompareActual
2#ifndef CbcCompareEstimate_H
3#define CbcCompareEstimate_H
4
5
6//#############################################################################
7/*  These are alternative strategies for node traversal.
8    They can take data etc for fine tuning
9
10    At present the node list is stored as a heap and the "test"
11    comparison function returns true if node y is better than node x.
12
13*/
14#include "CbcNode.hpp"
15#include "CbcCompareBase.hpp"
16#include "CbcCompare.hpp"
17class CbcModel;
18
19/* This is when rounding is being done
20*/
21class CbcCompareEstimate  : public CbcCompareBase {
22public:
23    // Default Constructor
24    CbcCompareEstimate () ;
25    ~CbcCompareEstimate() ;
26    // Copy constructor
27    CbcCompareEstimate ( const CbcCompareEstimate &rhs);
28
29    // Assignment operator
30    CbcCompareEstimate & operator=( const CbcCompareEstimate& rhs);
31
32    /// Clone
33    virtual CbcCompareBase * clone() const;
34    /// Create C++ lines to get to current state
35    virtual void generateCpp( FILE * fp);
36
37    virtual bool test (CbcNode * x, CbcNode * y) ;
38};
39
40
41#endif //CbcCompareEstimate_H
Note: See TracBrowser for help on using the repository browser.