ask-matt
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Island Genetic Algorithm (IslandGA) method skill. USE WHEN the user explicitly requests IslandGA / island genetic algorithm, or wants multiple sub-populations evolving in parallel with periodic inter-island migration to preserve diversity and enable parallel search.
Reference: Classic distributed evolutionary computation model, widely used for parallel evolutionary search. Independent sub-populations (islands) evolve in parallel with periodic migration.
IslandGA runs a distributed evolutionary algorithm in which the population is divided into several independent islands (sub-populations). Each island evolves on its own — with independent selection, crossover, and mutation — and only exchanges individuals through periodic migration events. This decoupled structure preserves genetic diversity (each island drifts toward different optima) and enables parallel execution of evolution workloads.
Core mechanisms:
| Concept | Role |
|---|---|
| Island | An independent sub-population evolving on its own GA loop |
| Migration | Periodic exchange of individuals between islands to spread good solutions |
| Migration interval | Number of generations between inter-island migration events |
| Migration rate | Fraction of individuals migrated out of the source island each event |
| Migration strategy | Which individuals migrate (best / random / elite / worst) |
| Migration topology | How islands are connected (ring / fully-connected / hierarchical / mesh) |
See params.yaml in this directory for the recommended parameter configuration.
Total population = num_islands × island_population_size.
num_islands islands, each initialized independentlymigration_interval generations, a migration event occurs:
migration_strategy and migration_ratemigration_topology to neighboring islandsparallel_islands) or sequentiallyparallel_islands on large runs → unnecessarily slowMAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
OBobra/superpowers331k近 7 天新增 4,772 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star