25 #ifndef PAGMO_GTOC5_FLYBY_H
26 #define PAGMO_GTOC5_FLYBY_H
31 #include "../config.h"
32 #include "../serialization.h"
34 #include <keplerian_toolbox/keplerian_toolbox.h>
37 namespace pagmo {
namespace problem {
55 gtoc5_flyby(
int = 10,
int = 1,
int = 2,
int = 3,
const double & = 57023,
const double & = 4000, objective = MASS,
const double &tof_ub = 3,
const double & = 1E-5);
57 std::string get_name()
const;
63 void set_sparsity(
int &, std::vector<int> &, std::vector<int> &)
const;
65 friend class boost::serialization::access;
66 template <
class Archive>
67 void serialize(Archive &ar,
const unsigned int)
69 ar & boost::serialization::base_object<base>(*this);
71 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_source);
72 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_flyby);
73 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_target);
74 ar &
const_cast<double &
>(m_lb_epoch);
75 ar &
const_cast<double &
>(m_initial_mass);
76 ar &
const_cast<objective &
>(m_obj);
81 const kep_toolbox::planet::gtoc5 m_source;
82 const kep_toolbox::planet::gtoc5 m_flyby;
83 const kep_toolbox::planet::gtoc5 m_target;
84 const double m_lb_epoch;
85 const double m_initial_mass;
86 const objective m_obj;
87 mutable kep_toolbox::sims_flanagan::leg m_leg1;
88 mutable kep_toolbox::sims_flanagan::leg m_leg2;
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.
objective
Objective function to be minimized.