00001 // (C) Copyright International Business Machines Corporation 2007 00002 // All Rights Reserved. 00003 // This code is published under the Common Public License. 00004 // 00005 // Authors : 00006 // Pierre Bonami, International Business Machines Corporation 00007 // 00008 // Date : 04/23/2007 00009 00010 #ifndef BonBabInfos_H 00011 #define BonBabInfos_H 00012 #include <stdlib.h> 00013 #include "BonAuxInfos.hpp" 00014 #include "BonCbc.hpp" 00015 00016 00017 namespace Bonmin 00018 { 00019 00021 class BabInfo : public Bonmin::AuxInfo 00022 { 00023 public: 00025 BabInfo(int type); 00026 00028 BabInfo(const OsiBabSolver &other); 00029 00031 BabInfo(const BabInfo &other); 00032 00034 virtual ~BabInfo(); 00035 00037 virtual OsiAuxInfo * clone() const; 00038 00040 void setBabPtr(Bab * babPtr) 00041 { 00042 babPtr_ = babPtr; 00043 } 00044 00046 Bab * babPtr() 00047 { 00048 return babPtr_; 00049 } 00050 00051 protected: 00053 Bab * babPtr_; 00054 }; 00055 }/* End namespace.*/ 00056 00057 #endif