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.

References Couenne::comparedTerm_.

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.

References set_.

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 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.

References s, set_, and x.


Member Data Documentation

std::set<CouenneFPsolution> Couenne::CouenneFPpool::set_ [protected]

Pool.

Definition at line 101 of file CouenneFPpool.hpp.

Referenced by findClosestAndReplace(), operator=(), and Set().


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 03:13:28 2011 by  doxygen 1.4.7