12 #ifndef MLPACK_CORE_OPTIMIZERS_PROBLEMS_COLVILLE_FUNCTION_HPP 13 #define MLPACK_CORE_OPTIMIZERS_PROBLEMS_COLVILLE_FUNCTION_HPP 18 namespace optimization {
69 double Evaluate(
const arma::mat& coordinates,
71 const size_t batchSize)
const;
78 double Evaluate(
const arma::mat& coordinates)
const;
88 void Gradient(
const arma::mat& coordinates,
91 const size_t batchSize)
const;
99 void Gradient(
const arma::mat& coordinates, arma::mat& gradient)
const;
106 #endif // MLPACK_CORE_OPTIMIZERS_PROBLEMS_COLVILLE_FUNCTION_HPP
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t NumFunctions() const
Return 1 (the number of functions).
void Shuffle()
Shuffle the order of function visitation.
ColvilleFunction()
Initialize the ColvilleFunction.
double Evaluate(const arma::mat &coordinates, const size_t begin, const size_t batchSize) const
void Gradient(const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) const
arma::mat GetInitialPoint() const
Get the starting point.
The Colville function, defined by.