Couenne::CouenneFPpool Class Reference

Pool of solutions. More...

#include <CouenneFPpool.hpp>

List of all members.

Public Member Functions

 CouenneFPpool (enum what_to_compare c)
 simple constructor (empty pool)
 CouenneFPpool (const CouenneFPpool &src)
 copy constructor
CouenneFPpooloperator= (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< CouenneFPsolutionset_
 Pool.

Detailed Description

Pool of solutions.

Definition at line 96 of file CouenneFPpool.hpp.


Constructor & Destructor Documentation

Couenne::CouenneFPpool::CouenneFPpool ( enum what_to_compare  c  )  [inline]

simple constructor (empty pool)

Definition at line 106 of file CouenneFPpool.hpp.

CouenneFPpool::CouenneFPpool ( const CouenneFPpool src  ) 

copy constructor

Definition at line 162 of file CouenneFPpool.cpp.


Member Function Documentation

CouenneFPpool & CouenneFPpool::operator= ( const CouenneFPpool src  ) 

assignment

Definition at line 167 of file CouenneFPpool.cpp.

std::set<CouenneFPsolution>& Couenne::CouenneFPpool::Set (  )  [inline]

return the main object in this class

Definition at line 116 of file CouenneFPpool.hpp.

void 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

Definition at line 193 of file CouenneFPpool.cpp.


Member Data Documentation

Pool.

Definition at line 101 of file CouenneFPpool.hpp.


The documentation for this class was generated from the following files:

Generated on 22 May 2012 by  doxygen 1.6.1