Interface IslandEvolutionObserver<T>
-
- Type Parameters:
T- The type of entity being evolved.
- All Superinterfaces:
EvolutionObserver<T>
- All Known Implementing Classes:
EvolutionMonitor,StatusBar
public interface IslandEvolutionObserver<T> extends EvolutionObserver<T>
A specialisation ofEvolutionObserverthat, 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).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidislandPopulationUpdate(int islandIndex, PopulationData<? extends T> data)Method called to notify the listener of the state of the population of an individual island.-
Methods inherited from interface org.uncommons.watchmaker.framework.EvolutionObserver
populationUpdate
-
-
-
-
Method Detail
-
islandPopulationUpdate
void islandPopulationUpdate(int islandIndex, PopulationData<? extends T> data)Method called to notify the listener of the state of the population of an individual island. This will be called once for each generation on each island.- Parameters:
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.
-
-