public class RankAndCrowdingDistanceComparator<T extends Chromosome> extends Object implements Comparator<Object>
Comparator (a method for comparing Chromosomes
objects) based on the dominance test, as in NSGA-II.| Constructor and Description |
|---|
RankAndCrowdingDistanceComparator()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object object1,
Object object2)
Compares two solutions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic RankAndCrowdingDistanceComparator()
comparator - public int compare(Object object1, Object object2)
compare in interface Comparator<Object>object1 - Object representing the first Solution.object2 - Object representing the second Solution.Copyright © 2010–2017 EvoSuite. All rights reserved.