primatologist-gpl 6.0.4
aims::math::Ackley Class Reference

Many local minima with a stingy enveloppe. More...

#include <primatologist/optimization/test_functions.h>

Public Member Functions

 Ackley (int n=2, float a=20, float b=0.2, float c=TWO_PI)
 
 ~Ackley ()
 
float value (const Vector &x) const
 
Vector derivative (const Vector &x) const
 
Matrix hessian (const Vector &x) const
 
Vector exactMin () const
 
float exactMinValue () const
 

Protected Member Functions

float term_poly (const Vector &) const
 
float term_cos (const Vector &) const
 
float g_poly (const Vector &, int) const
 
float g_cos (const Vector &, int) const
 
float gg_poly (const Vector &, int, int) const
 
float gg_cos (const Vector &, int, int) const
 

Protected Attributes

int _n
 
float _a
 
float _b
 
float _c
 

Detailed Description

Many local minima with a stingy enveloppe.

Definition at line 54 of file test_functions.h.

Constructor & Destructor Documentation

◆ Ackley()

aims::math::Ackley::Ackley ( int n = 2,
float a = 20,
float b = 0.2,
float c = TWO_PI )

References aims::math::TWO_PI.

◆ ~Ackley()

aims::math::Ackley::~Ackley ( )

Member Function Documentation

◆ derivative()

Vector aims::math::Ackley::derivative ( const Vector & x) const

◆ exactMin()

Vector aims::math::Ackley::exactMin ( ) const

◆ exactMinValue()

float aims::math::Ackley::exactMinValue ( ) const

◆ g_cos()

float aims::math::Ackley::g_cos ( const Vector & ,
int  ) const
protected

◆ g_poly()

float aims::math::Ackley::g_poly ( const Vector & ,
int  ) const
protected

◆ gg_cos()

float aims::math::Ackley::gg_cos ( const Vector & ,
int ,
int  ) const
protected

◆ gg_poly()

float aims::math::Ackley::gg_poly ( const Vector & ,
int ,
int  ) const
protected

◆ hessian()

Matrix aims::math::Ackley::hessian ( const Vector & x) const

◆ term_cos()

float aims::math::Ackley::term_cos ( const Vector & ) const
protected

◆ term_poly()

float aims::math::Ackley::term_poly ( const Vector & ) const
protected

◆ value()

float aims::math::Ackley::value ( const Vector & x) const

Member Data Documentation

◆ _a

float aims::math::Ackley::_a
protected

Definition at line 69 of file test_functions.h.

◆ _b

float aims::math::Ackley::_b
protected

Definition at line 70 of file test_functions.h.

◆ _c

float aims::math::Ackley::_c
protected

Definition at line 71 of file test_functions.h.

◆ _n

int aims::math::Ackley::_n
protected

Definition at line 68 of file test_functions.h.


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