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

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

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

All Implemented Interfaces:
  Serializable, Comparator<SolverBenchmark>

    public class WorstScoreSolverBenchmarkRankingComparator

extends Object
implements Comparator<SolverBenchmark>, Serializable

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

See Also:
  Serialized Form

Constructor Summary
`WorstScoreSolverBenchmarkRankingComparator()`

Method Summary
`int` | `compare(SolverBenchmark a, SolverBenchmark 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

### WorstScoreSolverBenchmarkRankingComparator

    public WorstScoreSolverBenchmarkRankingComparator()

Method Detail

### compare

    public int compare(SolverBenchmark a,
                       SolverBenchmark b)

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

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

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