SG++-Doxygen-Documentation
|
Perm objective function. More...
#include <Perm.hpp>
Public Member Functions | |
void | clone (std::unique_ptr< ScalarFunction > &clone) const override |
double | evalUndisplaced (const base::DataVector &x) override |
PermObjective (size_t d) | |
Constructor. More... | |
~PermObjective () 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... | |
Perm objective function.
Definition:
\[\bar{f}(\bar{\vec{x}}) := \sum_{i=1}^d \left(\sum_{t=1}^d (t^i + 1) \left(\left(\frac{\bar{x}_t}{t}\right)^i - 1\right)\right)\]
|
explicit |
|
override |
Destructor.
|
overridevirtual |
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::ScalarFunction.
References PermObjective().
|
overridevirtual |
x | point \(\vec{x} \in [0, 1]^d\) |
Implements sgpp::optimization::test_problems::TestScalarFunction.
References sgpp::optimization::ScalarFunction::d, python.statsfileInfo::i, and sgpp::combigrid::pow().