schwefel_function.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "pass_bits/problem.hpp"
4 
5 namespace pass
6 {
30 //
31 // D ⎛ ⎞
32 // 418.9828872724338 * D - ∑ ⎜ p(i) * sin(√ ||p(i)||) ⎟
33 // i=1⎝ ⎠
34 //
35 class schwefel_function : public problem
36 {
37 public:
42  explicit schwefel_function(const arma::uword dimension);
43 
44  double evaluate(const arma::vec &agent) const override;
45 };
46 } // namespace pass
Definition: problem.hpp:20
schwefel_function(const arma::uword dimension)
Definition: schwefel_function.cpp:3
arma::uword dimension() const noexcept
Definition: problem.cpp:10
Definition: adaptive_parameter_search.hpp:5
double evaluate(const arma::vec &agent) const override
Definition: schwefel_function.cpp:6
Definition: schwefel_function.hpp:35