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

Wrapper for the GSL Nelder-Mead simplex algorithm (version 2 + randomly-oriented initial simplex). More...

#include <gsl_nm2rand.h>

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

Public Member Functions

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

Detailed Description

Wrapper for the GSL Nelder-Mead simplex algorithm (version 2 + randomly-oriented initial simplex).

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

Definition at line 42 of file gsl_nm2rand.h.

Constructor & Destructor Documentation

pagmo::algorithm::gsl_nm2rand::gsl_nm2rand ( 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.

See also
gsl_gradient::gsl_derivative_free().

Definition at line 39 of file gsl_nm2rand.cpp.

Member Function Documentation

base_ptr pagmo::algorithm::gsl_nm2rand::clone ( ) const
virtual

Clone method.

Returns
algorithm::base_ptr to a copy of this.

Implements pagmo::algorithm::base.

Definition at line 46 of file gsl_nm2rand.cpp.

const gsl_multimin_fminimizer_type * pagmo::algorithm::gsl_nm2rand::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 without derivatives.

Implements pagmo::algorithm::gsl_derivative_free.

Definition at line 51 of file gsl_nm2rand.cpp.


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