25 #ifndef PAGMO_PROBLEM_RASTRIGIN_H
26 #define PAGMO_PROBLEM_RASTRIGIN_H
30 #include "../config.h"
31 #include "../serialization.h"
35 namespace pagmo{
namespace problem {
57 std::string get_name()
const;
61 friend class boost::serialization::access;
62 template <
class Archive>
63 void serialize(Archive &ar,
const unsigned int)
65 ar & boost::serialization::base_object<base>(*this);
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.