25 #ifndef PAGMO_PROBLEM_TANDEM_H
26 #define PAGMO_PROBLEM_TANDEM_H
31 #include "../config.h"
32 #include "../serialization.h"
34 #include "../AstroToolbox/mga_dsm.h"
35 #include "../AstroToolbox/misc4Tandem.h"
38 namespace pagmo{
namespace problem {
83 tandem(
const int problemid = 6,
const double tof_ = -1);
85 std::string pretty(
const std::vector<double> &x)
const;
86 std::string get_name()
const;
89 void set_sparsity(
int &, std::vector<int> &, std::vector<int> &)
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>(*this);
97 ar &
const_cast<double &
>(tof);
100 static const int Data[24][5];
101 static const int sequence[5];
102 mgadsmproblem problem;
104 mutable std::vector<double> copy_of_x;
112 #endif // PAGMO_PROBLEM_TANDEM_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.