25 #ifndef PAGMO_PROBLEM_MGA_TARGET_EVENT_H
26 #define PAGMO_PROBLEM_MGA_TARGET_EVENT_H
29 #include <keplerian_toolbox/epoch.h>
30 #include <keplerian_toolbox/planet/base.h>
31 #include <keplerian_toolbox/planet/jpl_low_precision.h>
33 #include "../config.h"
34 #include "../serialization.h"
40 namespace pagmo{
namespace problem {
60 mga_target_event(
const kep_toolbox::planet::planet_ptr start = kep_toolbox::planet::jpl_lp(
"earth").clone(),
61 const kep_toolbox::planet::planet_ptr end = kep_toolbox::planet::jpl_lp(
"mars").clone(),
62 const kep_toolbox::epoch t_end = kep_toolbox::epoch(0.0),
64 bool discount_launcher =
true
70 std::string get_name()
const;
73 std::string human_readable_extra()
const;
76 friend class boost::serialization::access;
77 template <
class Archive>
78 void serialize(Archive &ar,
const unsigned int)
80 ar & boost::serialization::base_object<base>(*this);
85 ar & m_discount_launcher;
87 kep_toolbox::planet::planet_ptr m_start;
88 kep_toolbox::planet::planet_ptr m_end;
89 kep_toolbox::epoch m_t_end;
91 bool m_discount_launcher;
98 #endif // PAGMO_PROBLEM_MGA_TARGET_EVENT_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.