#include <CouenneFPpool.hpp>
Public Member Functions | |
CouenneFPpool (enum what_to_compare c) | |
simple constructor (empty pool) | |
CouenneFPpool (const CouenneFPpool &src) | |
copy constructor | |
CouenneFPpool & | operator= (const CouenneFPpool &src) |
assignment | |
std::set< CouenneFPsolution > & | Set () |
return the main object in this class | |
void | findClosestAndReplace (double *sol, double *nSol, int nvars) |
finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol | |
Protected Attributes | |
std::set< CouenneFPsolution > | set_ |
Pool. |
Definition at line 96 of file CouenneFPpool.hpp.
Couenne::CouenneFPpool::CouenneFPpool | ( | enum what_to_compare | c | ) | [inline] |
simple constructor (empty pool)
Definition at line 106 of file CouenneFPpool.hpp.
References Couenne::comparedTerm_.
Couenne::CouenneFPpool::CouenneFPpool | ( | const CouenneFPpool & | src | ) |
copy constructor
CouenneFPpool& Couenne::CouenneFPpool::operator= | ( | const CouenneFPpool & | src | ) |
assignment
std::set<CouenneFPsolution>& Couenne::CouenneFPpool::Set | ( | ) | [inline] |
return the main object in this class
Definition at line 116 of file CouenneFPpool.hpp.
References set_.
void Couenne::CouenneFPpool::findClosestAndReplace | ( | double * | sol, | |
double * | nSol, | |||
int | nvars | |||
) |
finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol
std::set<CouenneFPsolution> Couenne::CouenneFPpool::set_ [protected] |