25 #ifndef PAGMO_ALGORITHM_MONTE_CARLO_H
26 #define PAGMO_ALGORITHM_MONTE_CARLO_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
35 namespace pagmo {
namespace algorithm {
50 std::string get_name()
const;
52 friend class boost::serialization::access;
53 template <
class Archive>
54 void serialize(Archive &ar,
const unsigned int)
56 ar & boost::serialization::base_object<base>(*this);
57 ar &
const_cast<std::size_t &
>(m_max_eval);
59 std::string human_readable_extra()
const;
60 const std::size_t m_max_eval;
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.