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 #include "BonBabInfos.hpp" 00011 00012 namespace Bonmin 00013 { 00015 BabInfo::BabInfo(int type): 00016 AuxInfo(type), 00017 babPtr_(NULL) 00018 {} 00019 00021 BabInfo::BabInfo(const OsiBabSolver &other): 00022 AuxInfo(other), 00023 babPtr_(NULL) 00024 {} 00025 00027 BabInfo::BabInfo(const BabInfo &other): 00028 AuxInfo(other), 00029 babPtr_(other.babPtr_) 00030 {} 00031 00033 BabInfo::~BabInfo() 00034 {} 00035 00037 OsiAuxInfo * 00038 BabInfo::clone() const 00039 { 00040 return new BabInfo(*this); 00041 } 00042 }/* end namespace Bonmin*/ 00043