25 #ifndef PAGMO_ALGORITHM_JDE_H
26 #define PAGMO_ALGORITHM_JDE_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
35 namespace pagmo {
namespace algorithm {
67 jde(
int = 100,
int = 2,
int = 1,
double = 1e-6,
double = 1e-6,
bool =
false);
70 std::string get_name()
const;
73 std::string human_readable_extra()
const;
75 friend class boost::serialization::access;
76 template <
class Archive>
77 void serialize(Archive &ar,
const unsigned int)
79 ar & boost::serialization::base_object<base>(*this);
80 ar &
const_cast<int &
>(m_gen);
81 ar &
const_cast<int &
>(m_variant);
82 ar &
const_cast<int &
>(m_variant_adptv);
83 ar &
const_cast<double &
>(m_ftol);
84 ar &
const_cast<double &
>(m_xtol);
87 ar &
const_cast<bool &
>(m_memory);
94 mutable std::vector<double> m_f;
97 mutable std::vector<double> m_cr;
102 const int m_variant_adptv;
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
jDE - Differential Evolution Algorithm - Self-Adaptive C and R (2011)