public class SortByFitness extends Object implements Comparator<Chromosome>
| Constructor and Description |
|---|
SortByFitness(FitnessFunction<?> ff,
boolean desc) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Chromosome c1,
Chromosome c2) |
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 SortByFitness(FitnessFunction<?> ff, boolean desc)
ff - des - descending orderpublic int compare(Chromosome c1, Chromosome c2)
compare in interface Comparator<Chromosome>Copyright © 2010–2017 EvoSuite. All rights reserved.