org.optaplanner.core.impl.bestsolution
public class BestSolutionRecaller extends SolverPhaseLifecycleListenerAdapter
Solver
encounters.Modifier and Type | Field and Description |
---|---|
protected boolean |
assertBestScoreIsUnmodified |
protected org.slf4j.Logger |
logger |
protected SolverEventSupport |
solverEventSupport |
Constructor and Description |
---|
BestSolutionRecaller() |
Modifier and Type | Method and Description |
---|---|
void |
setAssertBestScoreIsUnmodified(boolean assertBestScoreIsUnmodified) |
void |
setSolverEventSupport(SolverEventSupport solverEventSupport) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(AbstractStepScope stepScope) |
void |
updateBestSolution(DefaultSolverScope solverScope,
Solution solution,
int uninitializedVariableCount) |
phaseEnded, phaseStarted, stepStarted
solvingEnded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
solvingEnded
protected final transient org.slf4j.Logger logger
protected boolean assertBestScoreIsUnmodified
protected SolverEventSupport solverEventSupport
public void setAssertBestScoreIsUnmodified(boolean assertBestScoreIsUnmodified)
public void setSolverEventSupport(SolverEventSupport solverEventSupport)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
solvingStarted
in class SolverLifecycleListenerAdapter
public void stepEnded(AbstractStepScope stepScope)
stepEnded
in interface SolverPhaseLifecycleListener
stepEnded
in class SolverPhaseLifecycleListenerAdapter
public void updateBestSolution(DefaultSolverScope solverScope, Solution solution, int uninitializedVariableCount)
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.