|
MachineIntelligenceCore:NeuralNets
|
A sphere function - square function generalized to n dimensions. More...
#include <ArtificialLandscapes.hpp>


Public Member Functions | |
| SphereFunction (size_t dims_) | |
| Constructor. More... | |
| eT | calculateValue (mic::types::MatrixPtr< eT > x_) |
| mic::types::MatrixPtr< eT > | calculateGradient (mic::types::MatrixPtr< eT > x_) |
Public Member Functions inherited from mic::neural_nets::optimization::artificial_landscapes::DifferentiableFunction< eT > | |
| DifferentiableFunction (size_t dims_) | |
| Constructor. Asserts whether dimensions must be > 0. More... | |
| virtual | ~DifferentiableFunction () |
| Virtual destructor - empty. More... | |
| mic::types::MatrixPtr< eT > | minArguments () |
| Returns the vector of arguments being the function minimum. More... | |
| eT | minValue () |
| Returns min value of the function. More... | |
Additional Inherited Members | |
Protected Attributes inherited from mic::neural_nets::optimization::artificial_landscapes::DifferentiableFunction< eT > | |
| size_t | dims |
| Number of function dimensions (input variables). More... | |
| mic::types::MatrixPtr< eT > | min_arguments |
| vector of arguments for which the function has a minimum. More... | |
| eT | min_value |
| Minimal value. More... | |
A sphere function - square function generalized to n dimensions.
Definition at line 80 of file ArtificialLandscapes.hpp.
|
inline |
Constructor.
Definition at line 84 of file ArtificialLandscapes.hpp.
|
inlinevirtual |
Calculates gradient of a function in a given point.
Implements mic::neural_nets::optimization::artificial_landscapes::DifferentiableFunction< eT >.
Definition at line 106 of file ArtificialLandscapes.hpp.
Referenced by TEST().
|
inlinevirtual |
Calculates value of a function for a given point.
Implements mic::neural_nets::optimization::artificial_landscapes::DifferentiableFunction< eT >.
Definition at line 94 of file ArtificialLandscapes.hpp.