# CbcCompareEstimate.hpp

Go to the documentation of this file.

    00001 // $Id: CbcCompareEstimate.hpp 1902 2013-04-10 16:58:16Z stefan $
    00002 // Copyright (C) 2002, International Business Machines
    00003 // Corporation and others.  All Rights Reserved.
    00004 // This code is licensed under the terms of the Eclipse Public License (EPL).
    00005
    00006 //Edwin 11/25/09 carved out of CbcCompareActual
    00007
    00008 #ifndef CbcCompareEstimate_H
    00009 #define CbcCompareEstimate_H
    00010
    00011
    00012 //#############################################################################
    00013 /*  These are alternative strategies for node traversal.
    00014     They can take data etc for fine tuning
    00015
    00016     At present the node list is stored as a heap and the "test"
    00017     comparison function returns true if node y is better than node x.
    00018
    00019 */
    00020 #include "CbcNode.hpp"
    00021 #include "CbcCompareBase.hpp"
    00022 #include "CbcCompare.hpp"
    00023 class CbcModel;
    00024
    00025 /* This is when rounding is being done
    00026 */
    00027 class CbcCompareEstimate  : public CbcCompareBase {
    00028 public:
    00029     // Default Constructor
    00030     CbcCompareEstimate () ;
    00031     ~CbcCompareEstimate() ;
    00032     // Copy constructor
    00033     CbcCompareEstimate ( const CbcCompareEstimate &rhs);
    00034
    00035     // Assignment operator
    00036     CbcCompareEstimate & operator=( const CbcCompareEstimate& rhs);
    00037
    00039     virtual CbcCompareBase * clone() const;
    00041     virtual void generateCpp( FILE * fp);
    00042
    00043     virtual bool test (CbcNode * x, CbcNode * y) ;
    00044 };
    00045
    00046
    00047 #endif //CbcCompareEstimate_H
    00048

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines