25 #ifndef PAGMO_MIGRATION_HV_GREEDY_S_POLICY_H 
   26 #define PAGMO_MIGRATION_HV_GREEDY_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 {
 
   57         std::vector<population::individual_type> select(
population &) 
const;
 
   59         const double m_nadir_eps;
 
   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_s_policy>(*this);
 
   66                 ar & 
const_cast<double &
>(m_nadir_eps);
 
Base class for migration selection policies. 
Choose 'n' successive greatest contributors migration 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.