es.udc.gii.common.eaf.algorithm.fitness.comparator
Class LessMOPTournamentComparator<T extends NSGA2Individual>

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.fitness.comparator.FitnessComparator<T>
      extended by es.udc.gii.common.eaf.algorithm.fitness.comparator.LessMOPTournamentComparator<T>
All Implemented Interfaces:
java.util.Comparator<T>

public class LessMOPTournamentComparator<T extends NSGA2Individual>
extends FitnessComparator<T>

Author:
lucia

Constructor Summary
LessMOPTournamentComparator()
          Creates a new instance of MOPTournamentComparator
 
Method Summary
 int compare(T o1, T o2)
          Compares to individuals inducing an ordering.
 
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
equals
 

Constructor Detail

LessMOPTournamentComparator

public LessMOPTournamentComparator()
Creates a new instance of MOPTournamentComparator

Method Detail

compare

public int compare(T o1,
                   T o2)
Description copied from class: FitnessComparator
Compares to individuals inducing an ordering. Note: this comparator imposes orderings that are inconsistent with equals.

Specified by:
compare in interface java.util.Comparator<T extends NSGA2Individual>
Specified by:
compare in class FitnessComparator<T extends NSGA2Individual>