|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jmetal.util.Ranking
public class Ranking
This class implements some facilities for ranking solutions.
Given a 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 Summary | |
---|---|
Ranking(SolutionSet solutionSet)
Constructor. |
Method Summary | |
---|---|
int |
getNumberOfSubfronts()
Returns the total number of subFronts founds. |
SolutionSet |
getSubfront(int rank)
Returns a SolutionSet containing the solutions of a given rank. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ranking(SolutionSet solutionSet)
solutionSet
- The SolutionSet
to be ranked.Method Detail |
---|
public SolutionSet getSubfront(int rank)
SolutionSet
containing the solutions of a given rank.
rank
- The rank
SolutionSet
.public int getNumberOfSubfronts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |