public class EqualSolutionsComparator<S extends Solution<?>> extends Object implements Comparator<S>
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(S object1,
S 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(S object1, S object2)
compare in interface Comparator<S extends Solution<?>>object1 - Object representing the first Solution.object2 - Object representing the second Solution.Copyright © 2015. All rights reserved.