25 #ifndef PAGMO_PROBLEM_LENNARD_JONES_H
26 #define PAGMO_PROBLEM_LENNARD_JONES_H
31 #include "../serialization.h"
35 namespace pagmo{
namespace problem {
55 std::string get_name()
const;
59 static double r(
const int& atom,
const int& coord,
const std::vector <double>& x);
60 friend class boost::serialization::access;
61 template <
class Archive>
62 void serialize(Archive &ar,
const unsigned int)
64 ar & boost::serialization::base_object<base>(*this);
72 #endif // PAGMO_PROBLEM_LENNARD_JONES_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base problem.
std::vector< double > decision_vector
Decision vector type.
The Lennard-Jones problem.
std::vector< double > fitness_vector
Fitness vector type.