25 #ifndef PAGMO_PROBLEM_GOLOMB_RULER_H
26 #define PAGMO_PROBLEM_GOLOMB_RULER_H
31 #include "../config.h"
32 #include "../serialization.h"
36 namespace pagmo {
namespace problem {
61 std::string get_name()
const;
65 bool equality_operator_extra(
const base &)
const;
69 friend class boost::serialization::access;
70 template <
class Archive>
71 void serialize(Archive &ar,
const unsigned int)
73 ar & boost::serialization::base_object<base>(*this);
74 ar &
const_cast<std::size_t &
>(m_max_length);
79 const std::size_t m_max_length;
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.
std::vector< double > constraint_vector
Constraint vector type.