public class EqualSolutionsComparator extends Object implements Comparator<Solution>
Comparator (a method for comparing
Solution objects) based whether all the objective values are
equal or not. A dominance test is applied to decide about what solution
is the best.| Constructor and Description |
|---|
EqualSolutionsComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Solution object1,
Solution 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 int compare(Solution object1, Solution object2)
compare in interface Comparator<Solution>object1 - Object representing the first Solution.object2 - Object representing the second Solution.Copyright © 2015. All rights reserved.