de_jong_function.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "pass_bits/problem.hpp"
4 
5 namespace pass
6 {
25 //
26 // D
27 // Σ (p(i)²)
28 // i=1
29 
30 class de_jong_function : public problem
31 {
32 public:
37  explicit de_jong_function(const arma::uword dimension);
38 
39  double evaluate(const arma::vec &agent) const override;
40 };
41 } // namespace pass
de_jong_function(const arma::uword dimension)
Definition: de_jong_function.cpp:3
double evaluate(const arma::vec &agent) const override
Definition: de_jong_function.cpp:6
Definition: de_jong_function.hpp:30
Definition: problem.hpp:20
arma::uword dimension() const noexcept
Definition: problem.cpp:10
Definition: adaptive_parameter_search.hpp:5