Class BestSolutionRecaller<Solution_>

Type Parameters:
Solution_ - the solution type, the class with the PlanningSolution annotation
All Implemented Interfaces:
PhaseLifecycleListener<Solution_>, SolverLifecycleListener<Solution_>, EventListener

public class BestSolutionRecaller<Solution_> extends PhaseLifecycleListenerAdapter<Solution_>
Remembers the best solution that a Solver encounters.
  • Field Details

    • assertInitialScoreFromScratch

      protected boolean assertInitialScoreFromScratch
    • assertShadowVariablesAreNotStale

      protected boolean assertShadowVariablesAreNotStale
    • assertBestScoreIsUnmodified

      protected boolean assertBestScoreIsUnmodified
    • solverEventSupport

      protected SolverEventSupport<Solution_> solverEventSupport
  • Constructor Details

    • BestSolutionRecaller

      public BestSolutionRecaller()
  • Method Details