25 #ifndef PAGMO_ALGORITHM_CSTRS_CORE_H
26 #define PAGMO_ALGORITHM_CSTRS_CORE_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
37 namespace pagmo {
namespace algorithm {
64 double = 1e-15,
double = 1e-15);
70 std::string get_name()
const;
72 void set_algorithm(
const base &);
73 base_ptr get_repair_algorithm()
const;
74 void set_repair_algorithm(
const base &);
77 std::string human_readable_extra()
const;
80 friend class boost::serialization::access;
81 template <
class Archive>
82 void serialize(Archive &ar,
const unsigned int)
84 ar & boost::serialization::base_object<base>(*this);
87 ar &
const_cast<int &
>(m_gen);
88 ar &
const_cast<int &
>(m_repair_frequency);
89 ar &
const_cast<double &
>(m_repair_ratio);
90 ar &
const_cast<double &
>(m_ftol);
91 ar &
const_cast<double &
>(m_xtol);
98 const int m_repair_frequency;
99 const double m_repair_ratio;
110 #endif // PAGMO_ALGORITHM_CSTRS_CORE_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
CORE constraints handling meta-algorithm.
jDE - Differential Evolution Algorithm - Self-Adaptive C and R (2011)