source: trunk/Cbc/src/CbcCompareEstimate.hpp @ 1854

Last change on this file since 1854 was 1854, checked in by stefan, 6 years ago

fix svn keywords property

  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1// $Id: CbcCompareEstimate.hpp 1854 2013-01-28 00:02:55Z stefan $
2// Copyright (C) 2002, International Business Machines
3// Corporation and others.  All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6//Edwin 11/25/09 carved out of CbcCompareActual
7
8#ifndef CbcCompareEstimate_H
9#define CbcCompareEstimate_H
10
11
12//#############################################################################
13/*  These are alternative strategies for node traversal.
14    They can take data etc for fine tuning
15
16    At present the node list is stored as a heap and the "test"
17    comparison function returns true if node y is better than node x.
18
19*/
20#include "CbcNode.hpp"
21#include "CbcCompareBase.hpp"
22#include "CbcCompare.hpp"
23class CbcModel;
24
25/* This is when rounding is being done
26*/
27class CbcCompareEstimate  : public CbcCompareBase {
28public:
29    // Default Constructor
30    CbcCompareEstimate () ;
31    ~CbcCompareEstimate() ;
32    // Copy constructor
33    CbcCompareEstimate ( const CbcCompareEstimate &rhs);
34
35    // Assignment operator
36    CbcCompareEstimate & operator=( const CbcCompareEstimate& rhs);
37
38    /// Clone
39    virtual CbcCompareBase * clone() const;
40    /// Create C++ lines to get to current state
41    virtual void generateCpp( FILE * fp);
42
43    virtual bool test (CbcNode * x, CbcNode * y) ;
44};
45
46
47#endif //CbcCompareEstimate_H
48
Note: See TracBrowser for help on using the repository browser.