12 #ifndef MLPACK_CORE_OPTIMIZERS_PROBLEMS_EASOM_FUNCTION_HPP 13 #define MLPACK_CORE_OPTIMIZERS_PROBLEMS_EASOM_FUNCTION_HPP 18 namespace optimization {
68 double Evaluate(
const arma::mat& coordinates,
70 const size_t batchSize)
const;
77 double Evaluate(
const arma::mat& coordinates)
const;
87 void Gradient(
const arma::mat& coordinates,
90 const size_t batchSize)
const;
98 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
105 #endif // MLPACK_CORE_OPTIMIZERS_PROBLEMS_EASOM_FUNCTION_HPP
EasomFunction()
Initialize the EasomFunction.
void Shuffle()
Shuffle the order of function visitation.
The core includes that mlpack expects; standard C++ includes and Armadillo.
The Easom function, defined by.
void Gradient(const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) const
size_t NumFunctions() const
Return 1 (the number of functions).
arma::mat GetInitialPoint() const
Get the starting point.
double Evaluate(const arma::mat &coordinates, const size_t begin, const size_t batchSize) const