25 #ifndef PAGMO_ALGORITHM_WORHP_H
26 #define PAGMO_ALGORITHM_WORHP_H
28 #include <worhp/worhp.h>
32 #include "../serialization.h"
33 #include "worhp_cpp_wrapper/worhp_param_serialization.h"
43 class __PAGMO_VISIBLE worhp:
public base
46 worhp(
const int iter=100,
const double feas=1e-10,
const double opt=1e-4,
const bool screen_output=
true);
49 std::string get_name()
const;
51 void set_param(
const std::string,
const double);
52 double get_param(
const std::string name)
const;
53 std::vector<std::string> get_available_parameters()
const;
56 std::string human_readable_extra()
const;
59 void define_param_map() ;
61 friend class boost::serialization::access;
62 template <
class Archive>
63 void serialize(Archive &ar,
const unsigned int)
65 ar & boost::serialization::base_object<base>(*this);
71 std::map<std::string, int> m_param_map;
76 #endif // PAGMO_ALGORITHM_WORHP_H
78 BOOST_CLASS_EXPORT_KEY(pagmo::algorithm::worhp)
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base algorithm.