mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
RosenbrockWoodFunction Class Reference

The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions. More...

Public Member Functions

 RosenbrockWoodFunction ()
 Initialize the RosenbrockWoodFunction. More...
 
double Evaluate (const arma::mat &coordinates, const size_t begin, const size_t batchSize) const
 
double Evaluate (const arma::mat &coordinates) const
 
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) const
 
size_t NumFunctions () const
 Return 1 (the number of functions). More...
 
void Shuffle ()
 Shuffle the order of function visitation. More...
 

Detailed Description

The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions.

In this function we are actually optimizing a 2x4 matrix of coordinates, not a vector.

Definition at line 30 of file rosenbrock_wood_function.hpp.

Constructor & Destructor Documentation

Initialize the RosenbrockWoodFunction.

Member Function Documentation

double Evaluate ( const arma::mat &  coordinates,
const size_t  begin,
const size_t  batchSize 
) const
double Evaluate ( const arma::mat &  coordinates) const
const arma::mat& GetInitialPoint ( ) const
inline

Get the starting point.

Definition at line 46 of file rosenbrock_wood_function.hpp.

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 
) const
size_t NumFunctions ( ) const
inline

Return 1 (the number of functions).

Definition at line 43 of file rosenbrock_wood_function.hpp.

void Shuffle ( )

Shuffle the order of function visitation.

This may be called by the optimizer.


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