public class Ranking
extends java.lang.Object
SolutionSet
object, their solutions are ranked
according to scheme proposed in NSGA-II; as a result, a set of subsets
are obtained. The subsets are numbered starting from 0 (in NSGA-II, the
numbering starts from 1); thus, subset 0 contains the non-dominated
solutions, subset 1 contains the non-dominated solutions after removing those
belonging to subset 0, and so on.Constructor and Description |
---|
Ranking(SolutionSet solutionSet)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfSubfronts()
Returns the total number of subFronts founds.
|
SolutionSet |
getSubfront(int rank)
Returns a
SolutionSet containing the solutions of a given rank. |
public Ranking(SolutionSet solutionSet)
solutionSet
- The SolutionSet
to be ranked.public SolutionSet getSubfront(int rank)
SolutionSet
containing the solutions of a given rank.rank
- The rankSolutionSet
.public int getNumberOfSubfronts()