Interface Migration
-
- All Known Implementing Classes:
RingMigration
public interface Migration
Strategy interface for different ways of migrating individuals between islands inIslandEvolution
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> void
migrate(List<List<EvaluatedCandidate<T>>> islandPopulations, int migrantCount, Random rng)
-
-
-
Method Detail
-
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.
-
-