org.optaplanner.core.impl.localsearch.decider.forager.finalist

## Interface FinalistPodium

- All Superinterfaces:
    EventListener, LocalSearchPhaseLifecycleListener, SolverLifecycleListener
  All Known Implementing Classes:
    AbstractFinalistPodium, HighestScoreFinalistPodium, StrategicOscillationByLevelFinalistPodium

      public interface FinalistPodium
      extends LocalSearchPhaseLifecycleListener

  A podium gathers the finalists (the `LocalSearchMoveScope`s which might win) and picks the winner.
  See Also:
    `AbstractFinalistPodium`, `HighestScoreFinalistPodium`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMove(LocalSearchMoveScope moveScope)` See `LocalSearchForager.addMove(LocalSearchMoveScope)`.
    `List<LocalSearchMoveScope>` | `getFinalistList()`

    - ### Methods inherited from interface org.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListener

      `phaseEnded, phaseStarted, stepEnded, stepStarted`

    - ### Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener

      `solvingEnded, solvingStarted`

- - ### Method Detail

    - #### addMove

          void addMove(LocalSearchMoveScope moveScope)

      See `LocalSearchForager.addMove(LocalSearchMoveScope)`.
      Parameters:
        `moveScope` - never null

    - #### getFinalistList

          List<LocalSearchMoveScope> getFinalistList()

      Returns:
        never null, sometimes empty

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