25 #ifndef PAGMO_GTOC5_RENDEZVOUS_H
26 #define PAGMO_GTOC5_RENDEZVOUS_H
31 #include "../config.h"
32 #include "../serialization.h"
34 #include <keplerian_toolbox/keplerian_toolbox.h>
37 namespace pagmo {
namespace problem {
49 gtoc5_rendezvous(
int = 10,
int = 1,
int = 2,
const double & = 57023,
const double & = 4000,
const double & = 1E-5);
51 std::string get_name()
const;
57 void set_sparsity(
int &, std::vector<int> &, std::vector<int> &)
const;
59 friend class boost::serialization::access;
60 template <
class Archive>
61 void serialize(Archive &ar,
const unsigned int)
63 ar & boost::serialization::base_object<base>(*this);
65 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_source);
66 ar &
const_cast<kep_toolbox::planet::gtoc5 &
>(m_target);
67 ar &
const_cast<double &
>(m_lb_epoch);
68 ar &
const_cast<double &
>(m_initial_mass);
72 const kep_toolbox::planet::gtoc5 m_source;
73 const kep_toolbox::planet::gtoc5 m_target;
74 const double m_lb_epoch;
75 const double m_initial_mass;
76 mutable kep_toolbox::sims_flanagan::leg m_leg;
83 #endif // GTOC5_GTOC5_ASTEROID_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.