25 #ifndef PAGMO_ALGORITHM_MBH_H
26 #define PAGMO_ALGORITHM_MBH_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
38 namespace pagmo {
namespace algorithm {
78 mbh(
const base & =
cs(),
int stop = 5,
double perturb = 5e-2);
79 mbh(
const base &,
int stop,
const std::vector<double> &perturb);
83 std::string get_name()
const;
85 void set_algorithm(
const base &);
87 std::string human_readable_extra()
const;
89 friend class boost::serialization::access;
90 template <
class Archive>
91 void serialize(Archive &ar,
const unsigned int)
93 ar & boost::serialization::base_object<base>(*this);
95 ar &
const_cast<int &
>(m_stop);
102 mutable std::vector<double> m_perturb;
109 #endif // PAGMO_ALGORITHM_MBH_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
Monotonic Basin Hopping (generalized)
The Compass Search Solver (CS)