jmetal.util
Class Ranking

java.lang.Object
  extended by jmetal.util.Ranking

public class Ranking
extends java.lang.Object

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

Ranking

public Ranking(SolutionSet solutionSet)
Constructor.

Parameters:
solutionSet - The SolutionSet to be ranked.
Method Detail

getSubfront

public SolutionSet getSubfront(int rank)
Returns a SolutionSet containing the solutions of a given rank.

Parameters:
rank - The rank
Returns:
Object representing the SolutionSet.

getNumberOfSubfronts

public int getNumberOfSubfronts()
Returns the total number of subFronts founds.