25 #ifndef PAGMO_PROBLEM_DECOMPOSE_H
26 #define PAGMO_PROBLEM_DECOMPOSE_H
30 #include "../serialization.h"
32 #include "base_meta.h"
36 namespace pagmo{
namespace problem {
73 method_type = WEIGHTED,
74 const std::vector<double> & = std::vector<double>(),
75 const std::vector<double> & = std::vector<double>(),
78 std::string get_name()
const;
79 const std::vector<double>& get_weights()
const;
88 std::string human_readable_extra()
const;
91 friend class boost::serialization::access;
92 template <
class Archive>
93 void serialize(Archive &ar,
const unsigned int)
95 ar & boost::serialization::base_object<base_meta>(*this);
99 ar &
const_cast<bool&
>(m_adapt_ideal);
101 method_type m_method;
104 const bool m_adapt_ideal;
111 #endif // PAGMO_PROBLEM_DECOMPOSE_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
std::vector< double > fitness_vector
Fitness vector type.
method_type
Mechanism used to perform the problem decomposition.