PaGMO
1.1.5
|
Wrapper for the GSL Nelder-Mead simplex algorithm. More...
#include <gsl_nm.h>
Public Member Functions | |
gsl_nm (int max_iter=100, const double &tol=1E-6, const double &step_size=1) | |
Constructor. More... | |
base_ptr | clone () const |
Clone method. More... | |
std::string | get_name () const |
Algorithm name. | |
Public Member Functions inherited from pagmo::algorithm::gsl_derivative_free | |
std::string | human_readable_extra () const |
Extra information in human-readable format. More... | |
void | evolve (population &) const |
Evolve method. 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_fminimizer_type * | get_gsl_minimiser_ptr () const |
Selected minimiser. More... | |
Protected Member Functions inherited from pagmo::algorithm::gsl_derivative_free | |
gsl_derivative_free (int, 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. | |
Wrapper for the GSL Nelder-Mead simplex algorithm.
pagmo::algorithm::gsl_nm::gsl_nm | ( | int | max_iter = 100 , |
const double & | tol = 1E-6 , |
||
const double & | step_size = 1 |
||
) |
Constructor.
Will invoke internally the constructor from algorithm::gsl_derivative_free with the specified parameters.
Definition at line 39 of file gsl_nm.cpp.
|
virtual |
Clone method.
Implements pagmo::algorithm::base.
Definition at line 46 of file gsl_nm.cpp.
|
protectedvirtual |
Selected minimiser.
This function will return a pointer to the GSL minimiser selected by the derived class.
Implements pagmo::algorithm::gsl_derivative_free.
Definition at line 51 of file gsl_nm.cpp.