Class RankingAndPreferenceSelection<S extends Solution<?>>

java.lang.Object
org.uma.jmetal.operator.selection.impl.RankingAndPreferenceSelection<S>
All Implemented Interfaces:
Serializable, Operator<List<S>,List<S>>, SelectionOperator<List<S>,List<S>>

public class RankingAndPreferenceSelection<S extends Solution<?>> extends Object implements SelectionOperator<List<S>,List<S>>
See Also:
  • Constructor Details

    • RankingAndPreferenceSelection

      public RankingAndPreferenceSelection(int solutionsToSelect, List<Double> interestPoint, double epsilon)
      Constructor
  • Method Details

    • getNumberOfSolutionsToSelect

      public int getNumberOfSolutionsToSelect()
    • execute

      public List<S> execute(List<S> solutionList)
      Specified by:
      execute in interface Operator<List<S extends Solution<?>>,List<S extends Solution<?>>>
      Parameters:
      solutionList - The data to process
    • preferenceDistanceSelection

      protected List<S> preferenceDistanceSelection(Ranking<S> ranking, int numberOfObjectives)
    • subfrontFillsIntoThePopulation

      protected boolean subfrontFillsIntoThePopulation(Ranking<S> ranking, int rank, List<S> population)
    • addRankedSolutionsToPopulation

      protected void addRankedSolutionsToPopulation(Ranking<S> ranking, int rank, List<S> population)
    • addLastRankedSolutionsToPopulation

      protected void addLastRankedSolutionsToPopulation(Ranking<S> ranking, int rank, List<S> population)