The Drop-Wave function, defined by. More...
Public Member Functions | |
| DropWaveFunction () | |
| Initialize the DropWaveFunction. 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 Drop-Wave function, defined by.
This should optimize to f(x) = 0, at x = [0, 0].
For more information, please refer to:
Definition at line 43 of file drop_wave_function.hpp.
| DropWaveFunction | ( | ) |
Initialize the DropWaveFunction.
| double Evaluate | ( | const arma::mat & | coordinates, |
| const size_t | begin, | ||
| const size_t | batchSize | ||
| ) | const |
Referenced by DropWaveFunction::GetInitialPoint().
| double Evaluate | ( | const arma::mat & | coordinates | ) | const |
|
inline |
Get the starting point.
Definition at line 59 of file drop_wave_function.hpp.
References DropWaveFunction::Evaluate(), and DropWaveFunction::Gradient().
| void Gradient | ( | const arma::mat & | coordinates, |
| const size_t | begin, | ||
| arma::mat & | gradient, | ||
| const size_t | batchSize | ||
| ) | const |
Referenced by DropWaveFunction::GetInitialPoint().
| void Gradient | ( | const arma::mat & | coordinates, |
| arma::mat & | gradient | ||
| ) |
|
inline |
Return 1 (the number of functions).
Definition at line 56 of file drop_wave_function.hpp.
| void Shuffle | ( | ) |
Shuffle the order of function visitation.
This may be called by the optimizer.