SG++-Doxygen-Documentation
|
Eggholder unconstrained test problem. More...
#include <Eggholder.hpp>
Public Member Functions | |
Eggholder () | |
Constructor. More... | |
TestScalarFunction & | getObjectiveFunction () override |
double | getOptimalPointUndisplaced (base::DataVector &x) override |
~Eggholder () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::test_problems::UnconstrainedTestProblem | |
void | generateDisplacement () |
Generate normally distributed pseudorandom displacement with default standard deviation. More... | |
void | generateDisplacement (double stdDev) |
Generate normally distributed pseudorandom displacement. More... | |
const base::DataVector & | getDisplacement () const |
double | getOptimalPoint (base::DataVector &x) |
Returns the minimal point of the displaced function. More... | |
void | setDisplacement (const base::DataVector &displacement) |
Sets the displacement vector. More... | |
UnconstrainedTestProblem (size_t d) | |
Constructor. More... | |
virtual | ~UnconstrainedTestProblem () |
Destructor. More... | |
Protected Member Functions | |
bool | isDisplacementFeasible () override |
Sets the first displacement component to zero and checks the resulting displacement. More... | |
Protected Attributes | |
EggholderObjective | f |
objective function More... | |
Protected Attributes inherited from sgpp::optimization::test_problems::UnconstrainedTestProblem | |
size_t | d |
number of parameters More... | |
base::DataVector | displacement |
displacement vector More... | |
Additional Inherited Members | |
Static Public Attributes inherited from sgpp::optimization::test_problems::UnconstrainedTestProblem | |
static constexpr double | DEFAULT_STANDARD_DEVIATION = 0.01 |
default standard deviation for the displacement vector More... | |
Eggholder unconstrained test problem.
The displacement is restricted because the minimal point lies on the boundary of \([0, 1]^2\).
sgpp::optimization::test_problems::Eggholder::Eggholder | ( | ) |
Constructor.
|
override |
Destructor.
|
overridevirtual |
Implements sgpp::optimization::test_problems::UnconstrainedTestProblem.
References f.
|
overridevirtual |
[out] | x | minimal point \(\vec{x}_\opt \in [0, 1]^d\) |
Implements sgpp::optimization::test_problems::UnconstrainedTestProblem.
|
overrideprotectedvirtual |
Sets the first displacement component to zero and checks the resulting displacement.
Reimplemented from sgpp::optimization::test_problems::UnconstrainedTestProblem.
References sgpp::optimization::test_problems::UnconstrainedTestProblem::displacement, and sgpp::optimization::test_problems::UnconstrainedTestProblem::isDisplacementFeasible().
|
protected |
objective function
Referenced by getObjectiveFunction().