styblinski_tang_function.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "pass_bits/problem.hpp"
4 
5 namespace pass
6 {
26 //
27 // D ⎛ ⎞
28 // 0.5 * ∑ ⎜p(i)⁴ - 16 * p(i)² + 5 * p(i)⎟
29 // i=1⎝ ⎠
30 //
32 {
33 public:
38  explicit styblinski_tang_function(const arma::uword dimension);
39 
40  double evaluate(const arma::vec &agent) const override;
41 };
42 } // namespace pass
Definition: problem.hpp:20
arma::uword dimension() const noexcept
Definition: problem.cpp:10
styblinski_tang_function(const arma::uword dimension)
Definition: styblinski_tang_function.cpp:3
Definition: adaptive_parameter_search.hpp:5
double evaluate(const arma::vec &agent) const override
Definition: styblinski_tang_function.cpp:6
Definition: styblinski_tang_function.hpp:31