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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(SolverBenchmarkResult a, SolverBenchmarkResult b)
compare
in interface Comparator<SolverBenchmarkResult>
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.