MOEA Framework 2.12
API Specification

org.moeaframework.core.comparator
Class NondominatedSortingComparator

java.lang.Object
  extended by org.moeaframework.core.comparator.ChainedComparator
      extended by org.moeaframework.core.comparator.NondominatedSortingComparator
All Implemented Interfaces:
Serializable, Comparator<Solution>, DominanceComparator

public class NondominatedSortingComparator
extends ChainedComparator
implements Comparator<Solution>, Serializable

Compares two solutions using their rank and crowding distance. Rank is the primary comparison criteria and the crowding distance is used to break ties.

See Also:
FastNondominatedSorting, Serialized Form

Constructor Summary
NondominatedSortingComparator()
          Constructs a dominance comparator for comparing solutions using their rank and crowding distance.
 
Method Summary
 
Methods inherited from class org.moeaframework.core.comparator.ChainedComparator
compare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Constructor Detail

NondominatedSortingComparator

public NondominatedSortingComparator()
Constructs a dominance comparator for comparing solutions using their rank and crowding distance.


MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!