25 #ifndef PAGMO_ALGORITHM_SA_CORANA_H
26 #define PAGMO_ALGORITHM_SA_CORANA_H
28 #include "../config.h"
29 #include "../serialization.h"
32 namespace pagmo {
namespace algorithm {
60 sa_corana(
int niter = 1,
const double &Ts = 10,
const double &Tf = .1,
int m_step_adj = 1,
int m_bin_size = 20,
const double &range = 1);
63 std::string get_name()
const;
65 std::string human_readable_extra()
const;
67 friend class boost::serialization::access;
68 template <
class Archive>
69 void serialize(Archive &ar,
const unsigned int)
71 ar & boost::serialization::base_object<base>(*this);
72 ar &
const_cast<int &
>(m_niter);
73 ar &
const_cast<double &
>(m_Ts);
74 ar &
const_cast<double &
>(m_Tf);
75 ar &
const_cast<int &
>(m_step_adj);
76 ar &
const_cast<int &
>(m_bin_size);
77 ar &
const_cast<double &
>(m_range);
97 #endif // PAGMO_ALGORITHM_SA_CORANA_H
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.
Simulated Annealing, Corana's version with adaptive neighbourhood.