|
Couenne
0.5.8
|
Pool of solutions. More...
#include <CouenneFPpool.hpp>
Collaboration diagram for Couenne::CouenneFPpool:Public Member Functions | |
| CouenneFPpool (CouenneProblem *p, enum what_to_compare c) | |
| simple constructor (empty pool) More... | |
| CouenneFPpool (const CouenneFPpool &src) | |
| copy constructor More... | |
| CouenneFPpool & | operator= (const CouenneFPpool &src) |
| assignment More... | |
| std::set< CouenneFPsolution, compareSol > & | Set () |
| return the main object in this class More... | |
| CouenneProblem * | Problem () |
| return the problem pointer More... | |
| void | findClosestAndReplace (double *&sol, const double *nSol, int nvars) |
| finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol More... | |
Protected Attributes | |
| std::set< CouenneFPsolution, compareSol > | set_ |
| Pool. More... | |
| CouenneProblem * | problem_ |
| Problem pointer. More... | |
Pool of solutions.
Definition at line 91 of file CouenneFPpool.hpp.
|
inline |
simple constructor (empty pool)
Definition at line 104 of file CouenneFPpool.hpp.
| Couenne::CouenneFPpool::CouenneFPpool | ( | const CouenneFPpool & | src | ) |
copy constructor
| CouenneFPpool& Couenne::CouenneFPpool::operator= | ( | const CouenneFPpool & | src | ) |
assignment
|
inline |
return the main object in this class
Definition at line 114 of file CouenneFPpool.hpp.
|
inline |
return the problem pointer
Definition at line 118 of file CouenneFPpool.hpp.
| void Couenne::CouenneFPpool::findClosestAndReplace | ( | double *& | sol, |
| const double * | nSol, | ||
| int | nvars | ||
| ) |
finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol
|
protected |
Pool.
Definition at line 96 of file CouenneFPpool.hpp.
|
protected |
Problem pointer.
Definition at line 99 of file CouenneFPpool.hpp.
1.8.17