The Bukin function, defined by. More...
Public Member Functions | |
| BukinFunction (const double epsilon=1e-8) | |
| double | Epsilon () const |
| Get the value used for numerical stability. More... | |
| double & | Epsilon () |
| Modify the value used for numerical stability. More... | |
| double | Evaluate (const arma::mat &coordinates, const size_t begin, const size_t batchSize) const |
| double | Evaluate (const arma::mat &coordinates) const |
| arma::mat | GetInitialPoint () const |
| Get the starting point. More... | |
| void | Gradient (const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) const |
| void | Gradient (const arma::mat &coordinates, arma::mat &gradient) |
| size_t | NumFunctions () const |
| Return 1 (the number of functions). More... | |
| void | Shuffle () |
| Shuffle the order of function visitation. More... | |
The Bukin function, defined by.
This should optimize to f(x) = 0, at x = [-10, 1].
For more information, please refer to:
Definition at line 44 of file bukin_function.hpp.
| BukinFunction | ( | const double | epsilon = 1e-8 | ) |
|
inline |
Get the value used for numerical stability.
Definition at line 106 of file bukin_function.hpp.
|
inline |
Modify the value used for numerical stability.
Definition at line 108 of file bukin_function.hpp.
| double Evaluate | ( | const arma::mat & | coordinates, |
| const size_t | begin, | ||
| const size_t | batchSize | ||
| ) | const |
Referenced by BukinFunction::GetInitialPoint().
| double Evaluate | ( | const arma::mat & | coordinates | ) | const |
|
inline |
Get the starting point.
Definition at line 64 of file bukin_function.hpp.
References BukinFunction::Evaluate(), and BukinFunction::Gradient().
| void Gradient | ( | const arma::mat & | coordinates, |
| const size_t | begin, | ||
| arma::mat & | gradient, | ||
| const size_t | batchSize | ||
| ) | const |
Referenced by BukinFunction::GetInitialPoint().
| void Gradient | ( | const arma::mat & | coordinates, |
| arma::mat & | gradient | ||
| ) |
|
inline |
Return 1 (the number of functions).
Definition at line 61 of file bukin_function.hpp.
| void Shuffle | ( | ) |
Shuffle the order of function visitation.
This may be called by the optimizer.