34 #ifndef SHARK_OBJECTIVEFUNCTIONS_BENCHMARK_DTLZ5_H 35 #define SHARK_OBJECTIVEFUNCTIONS_BENCHMARK_DTLZ5_H 97 g +=
sqr( x(i-1) - 0.5 );
99 double t = M_PI / (4 * (1 + g));
101 phi[0] = x( 0 ) * M_PI / 2;
103 phi[i-1] = t * (1 + 2 * g * x( i-1 ) );
109 f *= std::cos(phi[j-1]);
121 std::size_t m_objectives;