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 rankingComparatororders aSolverBenchmarkResultby its worstScore. It minimizes the worst case scenario.
- 
- 
Constructor SummaryConstructors Constructor Description WorstScoreSolverRankingComparator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(SolverBenchmarkResult a, SolverBenchmarkResult b)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
 
- 
 
- 
- 
- 
Method Detail- 
comparepublic int compare(SolverBenchmarkResult a, SolverBenchmarkResult b) - Specified by:
- comparein interface- Comparator<SolverBenchmarkResult>
 
 
- 
 
-