public static class PolynomialMutationWorkingTest.VariableComparator extends Object implements Comparator<DoubleSolution>
| Constructor and Description |
|---|
VariableComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(DoubleSolution solution1,
DoubleSolution solution2)
Compares two solutions according to the first variable value
|
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 int compare(DoubleSolution solution1, DoubleSolution solution2)
compare in interface Comparator<DoubleSolution>solution1 - Object representing the first Solution.solution2 - Object representing the second Solution.Copyright © 2016. All rights reserved.