The NelderMeadOptBase class.
More...
#include <nelder_mead_opt_base.hpp>
|
void | InitSimplex (Scalar *x0, unsigned int n) |
| InitSimplex. More...
|
|
void | ComputeMean (Scalar *x_mean, unsigned int n) |
| ComputeMean. More...
|
|
Scalar | ComputeReflected (Scalar *x_r, Scalar *x_mean, unsigned int n) |
| ComputeReflected. More...
|
|
Scalar | ComputeExpansion (Scalar *x_e, Scalar *x_mean, unsigned int n) |
| ComputeExpansion. More...
|
|
Scalar | ComputeContractionInside (Scalar *x_c, Scalar *x_mean, unsigned int n) |
| ComputeContractionInside. More...
|
|
void | ComputeReduction (unsigned int n) |
| ComputeReduction. More...
|
|
Scalar * | run_aux (Scalar *x_start, unsigned int n, Scalar epsilon, int max_iterations=1000, Scalar *x=NULL) |
| run_aux More...
|
|
template<class Scalar>
class pic::NelderMeadOptBase< Scalar >
The NelderMeadOptBase class.
◆ NelderMeadOptBase()
◆ ComputeContractionInside()
template<class Scalar>
Scalar pic::NelderMeadOptBase< Scalar >::ComputeContractionInside |
( |
Scalar * |
x_c, |
|
|
Scalar * |
x_mean, |
|
|
unsigned int |
n |
|
) |
| |
|
inlineprotected |
ComputeContractionInside.
- Parameters
-
- Returns
◆ ComputeExpansion()
ComputeExpansion.
- Parameters
-
- Returns
◆ ComputeMean()
◆ ComputeReduction()
ComputeReduction.
- Parameters
-
◆ ComputeReflected()
ComputeReflected.
- Parameters
-
- Returns
◆ function()
◆ GlobalSettings()
◆ InitSimplex()
◆ run()
template<class Scalar>
virtual Scalar* pic::NelderMeadOptBase< Scalar >::run |
( |
Scalar * |
x_start, |
|
|
unsigned int |
n, |
|
|
Scalar |
epsilon = 1e-4f , |
|
|
int |
max_iterations = 1000 , |
|
|
Scalar * |
x = NULL |
|
) |
| |
|
inlinevirtual |
◆ run_aux()
template<class Scalar>
Scalar* pic::NelderMeadOptBase< Scalar >::run_aux |
( |
Scalar * |
x_start, |
|
|
unsigned int |
n, |
|
|
Scalar |
epsilon, |
|
|
int |
max_iterations = 1000 , |
|
|
Scalar * |
x = NULL |
|
) |
| |
|
inlineprotected |
run_aux
- Parameters
-
- Returns
◆ alpha
◆ bStopMean
◆ delta
◆ delta_zero
◆ gamma
◆ lambda
◆ max_iterations
◆ output_error
◆ sigma
◆ simplex
The documentation for this class was generated from the following file: