PaGMO  1.1.5
Public Member Functions | Protected Member Functions | Friends
pagmo::algorithm::gsl_bfgs2 Class Reference

Wrapper for the GSL BFGS2 algorithm. More...

#include <gsl_bfgs2.h>

Inheritance diagram for pagmo::algorithm::gsl_bfgs2:
Inheritance graph
[legend]

Public Member Functions

 gsl_bfgs2 (int=100, const double &=1E-8, const double &=1E-8, const double &=0.01, const double &=0.1)
 Constructor. More...
 
base_ptr clone () const
 Clone method.
 
std::string get_name () const
 Algorithm name.
 
- Public Member Functions inherited from pagmo::algorithm::gsl_gradient
void evolve (population &) const
 Evolve method. More...
 
std::string human_readable_extra () const
 Extra information in human-readable format. More...
 
- Public Member Functions inherited from pagmo::algorithm::base_gsl
 base_gsl ()
 Default constructor. More...
 
- Public Member Functions inherited from pagmo::algorithm::base
 base ()
 Default constructor. More...
 
virtual ~base ()
 Trivial destructor. More...
 
std::string human_readable () const
 Return human readable representation of the algorithm. More...
 
void set_screen_output (const bool p)
 Setter-Getter for protected m_screen_output data. More...
 
bool get_screen_output () const
 Gets screen output. More...
 
void reset_rngs (const unsigned int) const
 Resets the seed of the internal rngs using a user-provided seed. More...
 

Protected Member Functions

const gsl_multimin_fdfminimizer_type * get_gsl_minimiser_ptr () const
 Selected minimiser. More...
 
- Protected Member Functions inherited from pagmo::algorithm::gsl_gradient
 gsl_gradient (int, const double &, const double &, const double &, const double &)
 Constructor. More...
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Static Protected Member Functions inherited from pagmo::algorithm::base_gsl
static double objfun_wrapper (const gsl_vector *, void *)
 Objective function wrapper. More...
 
- Protected Attributes inherited from pagmo::algorithm::base
bool m_screen_output
 Indicates to the derived class whether to print stuff on screen.
 
rng_double m_drng
 Random number generator for double-precision floating point values.
 
rng_uint32 m_urng
 Random number generator for unsigned integer values.
 
unsigned int m_fevals
 A counter for the number of function evaluations.
 

Detailed Description

Wrapper for the GSL BFGS2 algorithm.

See also
algorithm::gsl_gradient for more information.
Author
Francesco Biscani (blues.nosp@m.carn.nosp@m.i@gma.nosp@m.il.c.nosp@m.om)

Definition at line 44 of file gsl_bfgs2.h.

Constructor & Destructor Documentation

pagmo::algorithm::gsl_bfgs2::gsl_bfgs2 ( int  max_iter = 100,
const double &  grad_tol = 1E-8,
const double &  numdiff_step_size = 1E-8,
const double &  step_size = 0.01,
const double &  tol = 0.1 
)

Constructor.

Will invoke internally the constructor from algorithm::gsl_gradient with the specified parameters.

See also
gsl_gradient::gsl_gradient().

Definition at line 40 of file gsl_bfgs2.cpp.

Member Function Documentation

const gsl_multimin_fdfminimizer_type * pagmo::algorithm::gsl_bfgs2::get_gsl_minimiser_ptr ( ) const
protectedvirtual

Selected minimiser.

This function will return a pointer to the GSL minimiser selected by the derived class.

Returns
pointer to a GSL minimiser with derivatives.

Implements pagmo::algorithm::gsl_gradient.

Definition at line 49 of file gsl_bfgs2.cpp.


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