public class RankingAndCrowdingSelection<S extends Solution<?>> extends Object implements SelectionOperator<List<S>,List<S>>
| Constructor and Description |
|---|
RankingAndCrowdingSelection(int solutionsToSelect)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLastRankedSolutionsToPopulation(Ranking<S> ranking,
int rank,
List<S> population) |
protected void |
addRankedSolutionsToPopulation(Ranking<S> ranking,
int rank,
List<S> population) |
protected List<S> |
crowdingDistanceSelection(Ranking<S> ranking) |
List<S> |
execute(List<S> solutionList)
Execute() method
|
int |
getNumberOfSolutionsToSelect() |
protected boolean |
subfrontFillsIntoThePopulation(Ranking<S> ranking,
int rank,
List<S> population) |
public RankingAndCrowdingSelection(int solutionsToSelect)
public int getNumberOfSolutionsToSelect()
public List<S> execute(List<S> solutionList) throws JMetalException
protected boolean subfrontFillsIntoThePopulation(Ranking<S> ranking, int rank, List<S> population)
protected void addRankedSolutionsToPopulation(Ranking<S> ranking, int rank, List<S> population)
Copyright © 2017. All rights reserved.