org.drools.planner.core.bestsolution
Class BestSolutionRecaller
java.lang.Object
org.drools.planner.core.bestsolution.BestSolutionRecaller
- All Implemented Interfaces:
- SolverLifecycleListener
public class BestSolutionRecaller
- extends Object
- implements SolverLifecycleListener
A BestSolutionRecaller remembers the best solution that a Solver
encounters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.slf4j.Logger logger
solverEventSupport
protected SolverEventSupport solverEventSupport
BestSolutionRecaller
public BestSolutionRecaller()
setSolverEventSupport
public void setSolverEventSupport(SolverEventSupport solverEventSupport)
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStarted
in interface SolverLifecycleListener
extractBestSolution
public void extractBestSolution(AbstractStepScope stepScope)
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.