SG++-Doxygen-Documentation
|
Hartman6 objective function. More...
#include <Hartman6.hpp>
Public Member Functions | |
void | clone (std::unique_ptr< ScalarFunction > &clone) const override |
double | evalUndisplaced (const base::DataVector &x) override |
Hartman6Objective () | |
Constructor. More... | |
~Hartman6Objective () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::test_problems::TestScalarFunction | |
double | eval (const base::DataVector &x) override |
Evaluate displaced function. More... | |
const base::DataVector & | getDisplacement () const |
void | setDisplacement (const base::DataVector &displacement) |
TestScalarFunction (size_t d) | |
Constructor. More... | |
~TestScalarFunction () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::ScalarFunction | |
size_t | getNumberOfParameters () const |
ScalarFunction (size_t d) | |
Constructor. More... | |
virtual | ~ScalarFunction () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sgpp::optimization::test_problems::TestScalarFunction | |
base::DataVector | displacement |
displacement vector More... | |
base::DataVector | xTmp |
temporary vector for displacing More... | |
Protected Attributes inherited from sgpp::optimization::ScalarFunction | |
size_t | d |
dimension of the domain More... | |
Hartman6 objective function.
Definition:
\begin{gather*} \bar{f}(\bar{\vec{x}}) := -\sum_{i=1}^4 a_i \exp\!\left(-\sum_{t=1}^6 b_{i,t} (\bar{x}_t - c_{i,t})^2\right),\\ \vec{a} = \begin{pmatrix}1\\1.2\\3\\3.2\end{pmatrix},\qquad B := \begin{pmatrix} 10 & 3 & 17 & 3.5 & 1.7 & 8\\ 0.05 & 10 & 17 & 0.1 & 8 & 14\\ 3 & 3.5 & 1.7 & 10 & 17 & 8\\ 17 & 8 & 0.05 & 10 & 0.1 & 14 \end{pmatrix},\\ C := \begin{pmatrix} 0.1312 & 0.1696 & 0.5569 & 0.0124 & 0.8283 & 0.5886\\ 0.2329 & 0.4135 & 0.8307 & 0.3736 & 0.1004 & 0.9991\\ 0.2348 & 0.1451 & 0.3522 & 0.2883 & 0.3047 & 0.6650\\ 0.4047 & 0.8828 & 0.8732 & 0.5743 & 0.1091 & 0.0381 \end{pmatrix}\end{gather*}
sgpp::optimization::test_problems::Hartman6Objective::Hartman6Objective | ( | ) |
Constructor.
Referenced by clone().
|
override |
Destructor.
|
overridevirtual |
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::ScalarFunction.
References Hartman6Objective().
|
overridevirtual |
x | point \(\vec{x} \in [0, 1]^d\) |
Implements sgpp::optimization::test_problems::TestScalarFunction.