25 #ifndef PAGMO_PROBLEM_ROTATED_H
26 #define PAGMO_PROBLEM_ROTATED_H
30 #include "../serialization.h"
33 #include "base_meta.h"
34 #include "../Eigen/Dense"
36 namespace pagmo{
namespace problem {
51 rotated(
const base &,
const std::vector<std::vector<double> > &);
55 std::string get_name()
const;
58 const Eigen::MatrixXd& get_rotation_matrix()
const;
61 std::string human_readable_extra()
const;
66 void configure_new_bounds();
72 friend class boost::serialization::access;
73 template <
class Archive>
74 void serialize(Archive &ar,
const unsigned int)
76 ar & boost::serialization::base_object<base_meta>(*this);
79 ar & m_normalize_translation;
80 ar & m_normalize_scale;
82 Eigen::MatrixXd m_Rotate;
83 Eigen::MatrixXd m_InvRotate;
94 #endif // PAGMO_PROBLEM_ROTATED_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.
std::vector< double > constraint_vector
Constraint vector type.