25 #ifndef PAGMO_ALGORITHM_CSTRS_CO_EVOLUTION_H
26 #define PAGMO_ALGORITHM_CSTRS_CO_EVOLUTION_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
37 namespace pagmo {
namespace algorithm {
73 enum method_type {SIMPLE = 0, SPLIT_NEQ_EQ = 1, SPLIT_CONSTRAINTS = 2};
76 method_type method = SIMPLE,
double pen_lower_bound = 0.,
77 double pen_upper_bound = 100000.,
78 double = 1e-15,
double = 1e-15);
84 std::string get_name()
const;
86 void set_algorithm(
const base &);
89 std::string human_readable_extra()
const;
92 friend class boost::serialization::access;
93 template <
class Archive>
94 void serialize(Archive &ar,
const unsigned int)
96 ar & boost::serialization::base_object<base>(*this);
98 ar & m_original_algo_penalties;
99 ar &
const_cast<int &
>(m_gen);
101 ar & m_pop_penalties_size;
102 ar & m_pen_lower_bound;
103 ar & m_pen_upper_bound;
104 ar &
const_cast<double &
>(m_ftol);
105 ar &
const_cast<double &
>(m_xtol);
112 int m_pop_penalties_size;
114 method_type m_method;
115 double m_pen_lower_bound;
116 double m_pen_upper_bound;
127 #endif // PAGMO_ALGORITHM_CSTRS_CO_EVOLUTION_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
method_type
Type of co-evolution.
Co-Evolution constraints handling meta-algorithm.
The Simple Genetic Algorithm (SGA)
jDE - Differential Evolution Algorithm - Self-Adaptive C and R (2011)