SG++-Doxygen-Documentation
|
Hartman3 objective function. More...
#include <Hartman3.hpp>
Public Member Functions | |
void | clone (std::unique_ptr< ScalarFunction > &clone) const override |
double | evalUndisplaced (const base::DataVector &x) override |
Hartman3Objective () | |
Constructor. More... | |
~Hartman3Objective () 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... | |
Hartman3 objective function.
Definition:
\begin{gather*} \bar{f}(\bar{\vec{x}}) := -\sum_{i=1}^4 a_i \exp\!\left(-\sum_{t=1}^3 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} 3 & 10 & 30\\ 0.1 & 10 & 35\\ 3 & 10 & 30\\ 0.1 & 10 & 35 \end{pmatrix},\qquad C := \begin{pmatrix} 0.3689 & 0.1170 & 0.2673\\ 0.4699 & 0.4387 & 0.7470\\ 0.1091 & 0.8732 & 0.5547\\ 0.0382 & 0.5743 & 0.8828 \end{pmatrix}\end{gather*}
sgpp::optimization::test_problems::Hartman3Objective::Hartman3Objective | ( | ) |
Constructor.
Referenced by clone().
|
override |
Destructor.
|
overridevirtual |
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::ScalarFunction.
References Hartman3Objective().
|
overridevirtual |
x | point \(\vec{x} \in [0, 1]^d\) |
Implements sgpp::optimization::test_problems::TestScalarFunction.