| 1 |
// (C) Copyright International Business Machines Corporation 2007 |
| 2 |
// All Rights Reserved. |
| 3 |
// This code is published under the Eclipse Public License. |
| 4 |
// |
| 5 |
// Authors : |
| 6 |
// Pierre Bonami, International Business Machines Corporation |
| 7 |
// |
| 8 |
// Date : 04/23/2007 |
| 9 |
|
| 10 |
#include "BonBabInfos.hpp" |
| 11 |
|
| 12 |
namespace Bonmin |
| 13 |
{ |
| 14 |
/** Default constructor.*/ |
| 15 |
BabInfo::BabInfo(int type): |
| 16 |
AuxInfo(type), |
| 17 |
babPtr_(NULL) |
| 18 |
{} |
| 19 |
|
| 20 |
/** Constructor from OsiBabSolver.*/ |
| 21 |
BabInfo::BabInfo(const OsiBabSolver &other): |
| 22 |
AuxInfo(other), |
| 23 |
babPtr_(NULL) |
| 24 |
{} |
| 25 |
|
| 26 |
/** Copy constructor.*/ |
| 27 |
BabInfo::BabInfo(const BabInfo &other): |
| 28 |
AuxInfo(other), |
| 29 |
babPtr_(other.babPtr_) |
| 30 |
{} |
| 31 |
|
| 32 |
/** Destructor.*/ |
| 33 |
BabInfo::~BabInfo() |
| 34 |
{} |
| 35 |
|
| 36 |
/** Virtual copy constructor.*/ |
| 37 |
OsiAuxInfo * |
| 38 |
BabInfo::clone() const |
| 39 |
{ |
| 40 |
return new BabInfo(*this); |
| 41 |
} |
| 42 |
}/* end namespace Bonmin*/ |
| 43 |
|