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

## org.drools.planner.benchmark.core.ranking
Class WorstScoreSolverBenchmarkRankingComparator

    java.lang.Object
      org.drools.planner.benchmark.core.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
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.