25 #ifndef PAGMO_GTOC5_LAUNCH_H
26 #define PAGMO_GTOC5_LAUNCH_H
31 #include "../config.h"
32 #include "../serialization.h"
34 #include <keplerian_toolbox/planet/gtoc5.h>
35 #include <keplerian_toolbox/sims_flanagan/codings.h>
36 #include <keplerian_toolbox/sims_flanagan/fb_traj.h>
39 namespace pagmo {
namespace problem {
56 gtoc5_launch(
int = 10,
int = 1, objective = MASS,
const double & = 1E-5);
58 std::string get_name()
const;
64 void set_sparsity(
int &, std::vector<int> &, std::vector<int> &)
const;
66 friend class boost::serialization::access;
67 template <
class Archive>
68 void serialize(Archive &ar,
const unsigned int)
70 ar & boost::serialization::base_object<base>(*this);
72 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_earth);
73 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_target);
74 ar &
const_cast<objective &
>(m_obj);
78 const kep_toolbox::planet::gtoc5 m_earth;
79 const kep_toolbox::planet::gtoc5 m_target;
80 const objective m_obj;
81 mutable kep_toolbox::sims_flanagan::leg m_leg;
88 #endif // EARTH_GTOC5_LAUNCH_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
Launch phase of the GTOC5 roblem.
std::vector< double > fitness_vector
Fitness vector type.
std::vector< double > constraint_vector
Constraint vector type.
objective
Objective function to be minimized.