# CbcDummyBranchingObject.hpp

Go to the documentation of this file.

    00001 // $Id$
    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/10/2009-- carved out of CbcBranchActual
    00007
    00008 #ifndef CbcDummyBranchingObject_H
    00009 #define CbcDummyBranchingObject_H
    00010
    00011 #include "CbcBranchBase.hpp"
    00018 class CbcDummyBranchingObject : public CbcBranchingObject {
    00019
    00020 public:
    00021
    00023     CbcDummyBranchingObject (CbcModel * model = NULL);
    00024
    00026     CbcDummyBranchingObject ( const CbcDummyBranchingObject &);
    00027
    00029     CbcDummyBranchingObject & operator= (const CbcDummyBranchingObject& rhs);
    00030
    00032     virtual CbcBranchingObject * clone() const;
    00033
    00035     virtual ~CbcDummyBranchingObject ();
    00036
    00037     using CbcBranchingObject::branch ;
    00040     virtual double branch();
    00041
    00042 #ifdef JJF_ZERO
    00043     // No need to override. Default works fine.
    00047     virtual void previousBranch();
    00048 #endif
    00049
    00050     using CbcBranchingObject::print ;
    00053     virtual void print();
    00054
    00056     virtual CbcBranchObjType type() const {
    00057         return DummyBranchObj;
    00058     }
    00059
    00067     virtual int compareOriginalObject(const CbcBranchingObject* brObj) const;
    00068
    00077     virtual CbcRangeCompare compareBranchingObject
    00078     (const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
    00079
    00080 };
    00081
    00082 #endif
    00083

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines