Class PESA2.RegionBasedSelection

java.lang.Object
org.moeaframework.algorithm.PESA2.RegionBasedSelection
All Implemented Interfaces:
Selection
Enclosing class:
PESA2

public class PESA2.RegionBasedSelection extends Object implements Selection
Region-based selection. Instead of selecting individual solutions, PESA2 first selects hyperboxes using binary tournament selection to favor hyperboxes with lower density. Then, one solution from the selected hyperbox is returned.
  • Constructor Details

    • RegionBasedSelection

      public RegionBasedSelection()
      Constructs a new region-based selection instance.
  • Method Details

    • select

      public Solution[] select(int arity, Population population)
      Description copied from interface: Selection
      Returns an array of length arity of solutions selected from the specified population.
      Specified by:
      select in interface Selection
      Parameters:
      arity - the number of solutions selected from the specified population
      population - the population from which solutions are selected
      Returns:
      an array of length arity of solutions selected from the specified population
    • draw

      protected Map.Entry<Integer,List<Solution>> draw()
      Draws a random entry from the map.
      Returns:
      the randomly selected map entry
    • select

      protected Solution select()
      Selects one solution using PESA2's region-based selection scheme.
      Returns:
      the selected solution