org.uncommons.watchmaker.framework.islands
Interface Migration
- All Known Implementing Classes:
- RingMigration
public interface Migration
Strategy interface for different ways of migrating individuals between islands
in IslandEvolution.
- Author:
- Daniel Dyer
migrate
<T> void migrate(List<List<EvaluatedCandidate<T>>> islandPopulations,
int migrantCount,
Random rng)
- Type Parameters:
T - The type of the individual members of the island populations.- Parameters:
islandPopulations - The populations of each island in the system.migrantCount - The number of individuals to move from each island.rng - A source of randomness.