Class WorstScoreSolverRankingComparator
java.lang.Object
org.optaplanner.benchmark.impl.ranking.WorstScoreSolverRankingComparator
- All Implemented Interfaces:
Comparator<SolverBenchmarkResult>
public class WorstScoreSolverRankingComparator
extends Object
implements Comparator<SolverBenchmarkResult>
This ranking
Comparator
orders a SolverBenchmarkResult
by its worst Score
.
It minimizes the worst case scenario.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
WorstScoreSolverRankingComparator
public WorstScoreSolverRankingComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<SolverBenchmarkResult>
-