org.optaplanner.benchmark.impl.ranking

## Interface SolverRankingWeightFactory

- All Known Implementing Classes:
    TotalRankSolverRankingWeightFactory

      public interface SolverRankingWeightFactory

  Defines an interface for classes that will be used to rank solver benchmarks in order of their respective performance.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Comparable` | `createRankingWeight(List<SolverBenchmarkResult> solverBenchmarkResultList, SolverBenchmarkResult solverBenchmarkResult)` The ranking function.

- - ### Method Detail

    - #### createRankingWeight

          Comparable createRankingWeight(List<SolverBenchmarkResult> solverBenchmarkResultList,
                                         SolverBenchmarkResult solverBenchmarkResult)

      The ranking function. Takes the provided solverBenchmarkResultList and ranks them.
      Parameters:
        `solverBenchmarkResultList` - never null
        `solverBenchmarkResult` - never null
      Returns:
        never null

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.