25 #ifndef PAGMO_PROBLEM_ANTIBODIES_PROBLEM_H
26 #define PAGMO_PROBLEM_ANTIBODIES_PROBLEM_H
29 #include <boost/functional/hash.hpp>
30 #include <boost/serialization/map.hpp>
32 #include "../serialization.h"
36 #include "../algorithm/cstrs_immune_system.h"
38 namespace pagmo{
namespace problem {
67 std::string get_name()
const;
69 void set_antigens(
const std::vector<decision_vector> &);
72 std::string human_readable_extra()
const;
77 friend class boost::serialization::access;
78 template <
class Archive>
79 void serialize(Archive &ar,
const unsigned int)
81 ar & boost::serialization::base_object<base>(*this);
82 ar & m_original_problem;
86 ar & m_max_encoding_integer;
90 std::vector<decision_vector> m_pop_antigens;
96 int m_max_encoding_integer;
102 std::vector<int> double_to_binary(
const double &number,
const double &lb,
const double &ub)
const;
110 #endif // PAGMO_PROBLEM_antibodies_problem_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
distance_method_type
Type of antibodies problem distance method.
The CEC 2006 problems: Constrained Real-Parameter Optimization.
std::vector< double > fitness_vector
Fitness vector type.