|
PaGMO
1.1.5
|
Migration policies namespace. More...
Data Structures | |
| class | base |
| Base migration class. More... | |
| class | base_r_policy |
| Base class for migration replacement policies. More... | |
| class | base_s_policy |
| Base class for migration selection policies. More... | |
| class | best_kill_s_policy |
| "Choose best and kill him" migration selection policy. More... | |
| class | best_s_policy |
| "Choose best" migration selection policy. More... | |
| class | fair_r_policy |
| Fair replacement policy. More... | |
| class | hv_best_s_policy |
| Choose 'n' greatest contributors migration policy. More... | |
| class | hv_fair_r_policy |
| Replace the 'n' least contributors with the incoming set. More... | |
| class | hv_greedy_r_policy |
| Replace the 'n' successive least contributors with the incoming set. More... | |
| class | hv_greedy_s_policy |
| Choose 'n' successive greatest contributors migration policy. More... | |
| class | random_r_policy |
| Random replacement policy. More... | |
| class | random_s_policy |
| Random migration selection policy. More... | |
| class | worst_r_policy |
| Worst replacement policy. More... | |
Typedefs | |
| typedef boost::shared_ptr< base_r_policy > | base_r_policy_ptr |
| Shared pointer to base replacement policy. | |
| typedef boost::shared_ptr< base_s_policy > | base_s_policy_ptr |
| Shared pointer to base selection policy. | |
Enumerations | |
| enum | rate_type { absolute = 0, fractional = 1 } |
| Type of migration rate. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &s, const base &p) |
| Overload stream operator for migration::base. More... | |
Migration policies namespace.
This namespace contains selection/replacement policies used during migration in the archipelago class.
Type of migration rate.
Used both by selection and replacement migration policies.
Definition at line 47 of file migration/base.h.
| std::ostream & pagmo::migration::operator<< | ( | std::ostream & | s, |
| const base & | p | ||
| ) |
Overload stream operator for migration::base.
Equivalent to printing migration::base::human_readable() to stream.
| [out] | s | std::ostream to which the policy will be streamed. |
| [in] | p | migration::base to be inserted into the stream. |
Definition at line 132 of file migration/base.cpp.
1.8.9.1