25 #ifndef PAGMO_ALGORITHM_MDE_PBX_H
26 #define PAGMO_ALGORITHM_MDE_PBX_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
35 namespace pagmo {
namespace algorithm {
66 mde_pbx(
int = 100,
double = 0.15,
double = 1.5,
double = 1e-30,
double = 1e-30);
69 std::string get_name()
const;
71 std::string human_readable_extra()
const;
72 double powermean(std::vector<double>,
double)
const;
74 friend class boost::serialization::access;
75 template <
class Archive>
76 void serialize(Archive &ar,
const unsigned int)
78 ar & boost::serialization::base_object<base>(*this);
79 ar &
const_cast<int &
>(m_gen);
80 ar &
const_cast<double &
>(m_qperc);
81 ar &
const_cast<double &
>(m_nexp);
82 ar &
const_cast<double &
>(m_ftol);
83 ar &
const_cast<double &
>(m_xtol);
94 mutable std::vector<double> m_fsuccess;
100 mutable std::vector<double> m_crsuccess;
103 mutable double m_crm;
106 const double m_qperc;
119 #endif // PAGMO_ALGORITHM_MDE_PBX_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
MDE_pBX - Differential Evolution variant.