Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Couenne::CouenneFPpool Class Reference

Pool of solutions. More...

#include <CouenneFPpool.hpp>

Public Member Functions

 CouenneFPpool (CouenneProblem *p, enum what_to_compare c)
 simple constructor (empty pool) More...
 CouenneFPpool (const CouenneFPpool &src)
 copy constructor More...
CouenneFPpooloperator= (const CouenneFPpool &src)
 assignment More...
std::set< CouenneFPsolution,
compareSol > & 
Set ()
 return the main object in this class More...
CouenneProblemProblem ()
 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,
 Pool. More...
 Problem pointer. More...

Detailed Description

Pool of solutions.

Definition at line 91 of file CouenneFPpool.hpp.

Constructor & Destructor Documentation

Couenne::CouenneFPpool::CouenneFPpool ( CouenneProblem p,
enum what_to_compare  c 

simple constructor (empty pool)

Definition at line 104 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)


std::set<CouenneFPsolution, compareSol>& Couenne::CouenneFPpool::Set ( )

return the main object in this class

Definition at line 114 of file CouenneFPpool.hpp.

References set_.

CouenneProblem* Couenne::CouenneFPpool::Problem ( )

return the problem pointer

Definition at line 118 of file CouenneFPpool.hpp.

References problem_.

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

Member Data Documentation

std::set<CouenneFPsolution, compareSol> Couenne::CouenneFPpool::set_


Definition at line 96 of file CouenneFPpool.hpp.

Referenced by Set().

CouenneProblem* Couenne::CouenneFPpool::problem_

Problem pointer.

Definition at line 99 of file CouenneFPpool.hpp.

Referenced by Problem().

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