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

Couenne::CouenneFPpool::CouenneFPpool ( const CouenneFPpool src  ) 

copy constructor


Member Function Documentation

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


Member Data Documentation

Pool.

Definition at line 101 of file CouenneFPpool.hpp.

Referenced by Set().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Feb 2012 for Couenne by  doxygen 1.6.1