public class WorstScoreSolverRankingComparator extends Object implements Comparator<SolverBenchmarkResult>, Serializable
Comparator orders a SolverBenchmarkResult by its worst Score.
It minimizes the worst case scenario.| Constructor and Description |
|---|
WorstScoreSolverRankingComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SolverBenchmarkResult a,
SolverBenchmarkResult b) |
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(SolverBenchmarkResult a, SolverBenchmarkResult b)
compare in interface Comparator<SolverBenchmarkResult>Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.