25 #ifndef PAGMO_MIGRATION_BEST_S_POLICY_H
26 #define PAGMO_MIGRATION_BEST_S_POLICY_H
30 #include "../config.h"
31 #include "../population.h"
32 #include "../serialization.h"
34 #include "base_s_policy.h"
36 namespace pagmo {
namespace migration {
53 std::vector<population::individual_type> select(
population &)
const;
56 friend class boost::serialization::access;
57 template <
class Archive>
58 void serialize(Archive &ar,
const unsigned int)
60 ar & boost::serialization::base_object<base_s_policy>(*this);
Base class for migration selection policies.
"Choose best" migration selection policy.
boost::shared_ptr< base_s_policy > base_s_policy_ptr
Shared pointer to base selection policy.
Migration rate is interpreted as the absolute number of individuals to migrate.
rate_type
Type of migration rate.