SG++-Doxygen-Documentation
|
G05 equality constraint function. More...
#include <G05.hpp>
Public Member Functions | |
void | clone (std::unique_ptr< VectorFunction > &clone) const override |
void | evalUndisplaced (const base::DataVector &x, base::DataVector &value) override |
G05EqualityConstraint () | |
Constructor. More... | |
~G05EqualityConstraint () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::test_problems::TestVectorFunction | |
void | eval (const base::DataVector &x, base::DataVector &value) override |
Evaluate displaced function. More... | |
const base::DataVector & | getDisplacement () const |
void | setDisplacement (const base::DataVector &displacement) |
TestVectorFunction (size_t d, size_t m) | |
Constructor. More... | |
~TestVectorFunction () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::VectorFunction | |
size_t | getNumberOfComponents () const |
size_t | getNumberOfParameters () const |
VectorFunction (size_t d, size_t m) | |
Constructor. More... | |
virtual | ~VectorFunction () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sgpp::optimization::test_problems::TestVectorFunction | |
base::DataVector | displacement |
displacement vector More... | |
base::DataVector | xTmp |
temporary vector for displacing More... | |
Protected Attributes inherited from sgpp::optimization::VectorFunction | |
size_t | d |
dimension of the domain More... | |
size_t | m |
number of components More... | |
G05 equality constraint function.
Definition:
\[\bar{\vec{h}}(\bar{\vec{x}}) := \begin{pmatrix} 1000 \sin(-\bar{x}_3 - 1/4) + 1000 \sin(-\bar{x}_4 - 1/4) + 894.8 - \bar{x}_1\\ 1000 \sin(\bar{x}_3 - 1/4) + 1000 \sin(\bar{x}_3 - \bar{x}_4 - 1/4) + 894.8 - \bar{x}_2\\ 1000 \sin(\bar{x}_4 - 1/4) + 1000 \sin(\bar{x}_4 - \bar{x}_3 - 1/4) + 1294.8 \end{pmatrix}\]
sgpp::optimization::test_problems::G05EqualityConstraint::G05EqualityConstraint | ( | ) |
Constructor.
Referenced by clone().
|
override |
Destructor.
|
overridevirtual |
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::VectorFunction.
References G05EqualityConstraint().
|
overridevirtual |
x | point \(\vec{x} \in \mathbb{R}^d\) | |
[out] | value | \(\vec{f}(\vec{x})\) |
Implements sgpp::optimization::test_problems::TestVectorFunction.