CbcDummyBranchingObject.hpp
Go to the documentation of this file.
1 // Edwin 11/10/2009-- carved out of CbcBranchActual
2 #ifndef CbcDummyBranchingObject_H
3 #define CbcDummyBranchingObject_H
4 
5 #include "CbcBranchBase.hpp"
13 
14 public:
15 
18 
21 
24 
26  virtual CbcBranchingObject * clone() const;
27 
29  virtual ~CbcDummyBranchingObject ();
30 
34  virtual double branch();
35 
36 #ifdef JJF_ZERO
37  // No need to override. Default works fine.
41  virtual void previousBranch();
42 #endif
43 
47  virtual void print();
48 
50  virtual CbcBranchObjType type() const {
51  return DummyBranchObj;
52  }
53 
61  virtual int compareOriginalObject(const CbcBranchingObject* brObj) const;
62 
72  (const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
73 
74 };
75 
76 #endif
77