sum_of_different_powers_function.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "pass_bits/problem.hpp"
4 
5 namespace pass
6 {
24 //
25 // D ⎛ ⎞
26 // ∑ ⎜||p(i)||^(i + 1) ⎟
27 // i=1 ⎝ ⎠
28 //
30 {
31 public:
36  explicit sum_of_different_powers_function(const arma::uword dimension);
37 
38  double evaluate(const arma::vec &agent) const override;
39 };
40 } // namespace pass
Definition: sum_of_different_powers_function.hpp:29
Definition: problem.hpp:20
double evaluate(const arma::vec &agent) const override
Definition: sum_of_different_powers_function.cpp:7
arma::uword dimension() const noexcept
Definition: problem.cpp:10
sum_of_different_powers_function(const arma::uword dimension)
Definition: sum_of_different_powers_function.cpp:3
Definition: adaptive_parameter_search.hpp:5