ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A data structure used to initialize the Nelder-Mead algorithm. More...
#include <jade.simplex.hpp>
Public Member Functions | |
options (const size_t n) | |
Initializes a new instance of the class. More... | |
options (const container_type &vertex_) | |
Initializes a new instance of the class. More... | |
std::string | str () const |
Data Fields | |
container_type | vertex |
A vertex in the initial formation of the simplex. More... | |
value_type | chi |
The expansion coefficient, which must be greater than the larger or rho or 1.0. More... | |
value_type | gamma |
The contraction coefficient, which must be greater than 0.0 and less than 1.0. More... | |
value_type | rho |
The reflection coefficient, which must be greater than 0.0. More... | |
value_type | sigma |
The shrinkage coefficient, which must be greater than 0.0 and less than 1.0. More... | |
value_type | unit |
A scaling coefficient used to construct the unit vectors in each dimension of the simplex, or undefined to use 1.0. More... | |
A data structure used to initialize the Nelder-Mead algorithm.
The default values for rho, chi, gamma, and sigma are based on the 2010 paper 'Implementing the Nelder-Mead simplex algorithm with adaptive parameters' by Fuchang Gao and Lixing Han.
Definition at line 302 of file jade.simplex.hpp.
|
inlineexplicit |
Initializes a new instance of the class.
n | The container size. |
Definition at line 341 of file jade.simplex.hpp.
|
inlineexplicit |
Initializes a new instance of the class.
vertex_ | The container size. |
Definition at line 357 of file jade.simplex.hpp.
|
inline |
value_type jade::basic_simplex< TValue >::options::chi |
The expansion coefficient, which must be greater than the larger or rho or 1.0.
Definition at line 313 of file jade.simplex.hpp.
value_type jade::basic_simplex< TValue >::options::gamma |
The contraction coefficient, which must be greater than 0.0 and less than 1.0.
Definition at line 319 of file jade.simplex.hpp.
value_type jade::basic_simplex< TValue >::options::rho |
The reflection coefficient, which must be greater than 0.0.
Definition at line 324 of file jade.simplex.hpp.
value_type jade::basic_simplex< TValue >::options::sigma |
The shrinkage coefficient, which must be greater than 0.0 and less than 1.0.
Definition at line 330 of file jade.simplex.hpp.
value_type jade::basic_simplex< TValue >::options::unit |
A scaling coefficient used to construct the unit vectors in each dimension of the simplex, or undefined to use 1.0.
Definition at line 336 of file jade.simplex.hpp.
container_type jade::basic_simplex< TValue >::options::vertex |
A vertex in the initial formation of the simplex.
Definition at line 307 of file jade.simplex.hpp.