PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
pic::NelderMeadOptTestFunction Class Reference

#include <nelder_mead_opt_test_function.hpp>

Inheritance diagram for pic::NelderMeadOptTestFunction:
pic::NelderMeadOptBase< float >

Public Member Functions

 NelderMeadOptTestFunction (float a, float b)
 
float function (float *x, unsigned int n)
 function More...
 
- Public Member Functions inherited from pic::NelderMeadOptBase< float >
 NelderMeadOptBase ()
 NelderMeadOptBase. More...
 
void GlobalSettings ()
 GlobalSettings. More...
 
virtual float * run (float *x_start, unsigned int n, float epsilon=1e-4f, int max_iterations=1000, float *x=NULL)
 

Static Public Member Functions

static void test ()
 

Public Attributes

float a
 
float b
 
- Public Attributes inherited from pic::NelderMeadOptBase< float >
int max_iterations
 
float output_error
 

Additional Inherited Members

- Protected Member Functions inherited from pic::NelderMeadOptBase< float >
void InitSimplex (float *x0, unsigned int n)
 InitSimplex. More...
 
void ComputeMean (float *x_mean, unsigned int n)
 ComputeMean. More...
 
float ComputeReflected (float *x_r, float *x_mean, unsigned int n)
 ComputeReflected. More...
 
float ComputeExpansion (float *x_e, float *x_mean, unsigned int n)
 ComputeExpansion. More...
 
float ComputeContractionInside (float *x_c, float *x_mean, unsigned int n)
 ComputeContractionInside. More...
 
void ComputeReduction (unsigned int n)
 ComputeReduction. More...
 
float * run_aux (float *x_start, unsigned int n, float epsilon, int max_iterations=1000, float *x=NULL)
 run_aux More...
 
- Protected Attributes inherited from pic::NelderMeadOptBase< float >
bool bStopMean
 
float delta
 
float delta_zero
 
float alpha
 
float gamma
 
float lambda
 
float sigma
 
std::vector< std::pair< float, float *> > simplex
 

Constructor & Destructor Documentation

◆ NelderMeadOptTestFunction()

pic::NelderMeadOptTestFunction::NelderMeadOptTestFunction ( float  a,
float  b 
)
inline

Member Function Documentation

◆ function()

float pic::NelderMeadOptTestFunction::function ( float *  x,
unsigned int  n 
)
inlinevirtual

function

Returns

Reimplemented from pic::NelderMeadOptBase< float >.

◆ test()

static void pic::NelderMeadOptTestFunction::test ( )
inlinestatic

Member Data Documentation

◆ a

float pic::NelderMeadOptTestFunction::a

◆ b

float pic::NelderMeadOptTestFunction::b

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