Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)

org.uncommons.watchmaker.framework.islands
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 of 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).

Author:
Daniel Dyer

Method Summary
 void islandPopulationUpdate(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.

Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)