Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.benchmark.impl.ranking
Class WorstScoreSolverRankingComparator

    java.lang.Object
      org.optaplanner.benchmark.impl.ranking.WorstScoreSolverRankingComparator

All Implemented Interfaces:
  Serializable, Comparator<SolverBenchmarkResult>

    public class WorstScoreSolverRankingComparator

extends Object
implements Comparator<SolverBenchmarkResult>, Serializable

This ranking `Comparator` orders a `SolverBenchmarkResult` by its worst `Score`. It minimizes the worst case scenario.

See Also:
  Serialized Form

Constructor Summary
`WorstScoreSolverRankingComparator()`

Method Summary
`int` | `compare(SolverBenchmarkResult a, SolverBenchmarkResult b)`

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`

Constructor Detail

### WorstScoreSolverRankingComparator

    public WorstScoreSolverRankingComparator()

Method Detail

### compare

    public int compare(SolverBenchmarkResult a,
                       SolverBenchmarkResult b)

  Specified by:
    `compare` in interface `Comparator<SolverBenchmarkResult>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.