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