Class Island

java.lang.Object
org.moeaframework.parallel.island.Island

public class Island extends Object
Represents an island in an island model for parallelization. Each island is essentially a separate instance of an optimization algorithm. Migration events can periodically copy or move solutions between islands.
  • Constructor Details

    • Island

      public Island(Algorithm algorithm, Population population)
      Creates a new island with the given algorithm and population.
      Parameters:
      algorithm - the algorithm assigned to this island
      population - the initial population for this island
  • Method Details

    • getAlgorithm

      public Algorithm getAlgorithm()
      Returns the current optimization algorithm used by this island.
      Returns:
      the algorithm
    • getPopulation

      public Population getPopulation()
      Returns the current population of this island.
      Returns:
      the population
    • getImmigrationQueue

      public ImmigrationQueue getImmigrationQueue()
      Returns the immigration queue for this island. Neighboring islands should add solutions into the immigration queue, which will then get injected into the population at an opportune time.
      Returns:
      the immigration queue