T
- The type of entity being evolved.public interface IslandEvolutionObserver<T> extends EvolutionObserver<T>
EvolutionObserver
that, as well as
receiving global population updates (at the end of each epoch), can receive individual island
population updates (at the end of each generation on each island).Modifier and Type | Method and Description |
---|---|
void |
islandPopulationUpdate(int islandIndex,
PopulationData<? extends T> data)
Method called to notify the listener of the state of the population of an individual
island.
|
populationUpdate
void islandPopulationUpdate(int islandIndex, PopulationData<? extends T> data)
islandIndex
- Identifies which individual island the data comes from.
Indices start at zero and are sequential.data
- The latest data from the evolution on the specified island.