41 #ifndef SHARK_OBJECTIVEFUNCTIONS_BENCHMARK_ZDT4_H 42 #define SHARK_OBJECTIVEFUNCTIONS_BENCHMARK_ZDT4_H 60 ZDT4(std::size_t numVariables = 1) {
84 RealVector lower(numberOfVariables,-5);
85 RealVector upper(numberOfVariables,5);
100 sum +=
sqr(x( i )) - (10.0 * cos(4 * M_PI * x(i) ) );
103 double h = 1.0 - std::sqrt(x(0) / g);