public class BestSolutionRecaller extends PhaseLifecycleListenerAdapter
Solver encounters.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
assertBestScoreIsUnmodified |
protected boolean |
assertInitialScoreFromScratch |
protected boolean |
assertShadowVariablesAreNotStale |
protected org.slf4j.Logger |
logger |
protected SolverEventSupport |
solverEventSupport |
| Constructor and Description |
|---|
BestSolutionRecaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
processWorkingSolutionDuringMove(int uninitializedVariableCount,
Score score,
AbstractStepScope stepScope) |
void |
processWorkingSolutionDuringStep(AbstractStepScope stepScope) |
void |
setAssertBestScoreIsUnmodified(boolean assertBestScoreIsUnmodified) |
void |
setAssertInitialScoreFromScratch(boolean assertInitialScoreFromScratch) |
void |
setAssertShadowVariablesAreNotStale(boolean assertShadowVariablesAreNotStale) |
void |
setSolverEventSupport(SolverEventSupport solverEventSupport) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
updateBestSolution(DefaultSolverScope solverScope,
Solution solution,
int uninitializedVariableCount) |
phaseEnded, phaseStarted, stepEnded, stepStartedsolvingEndedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsolvingEndedprotected final transient org.slf4j.Logger logger
protected boolean assertInitialScoreFromScratch
protected boolean assertShadowVariablesAreNotStale
protected boolean assertBestScoreIsUnmodified
protected SolverEventSupport solverEventSupport
public void setAssertInitialScoreFromScratch(boolean assertInitialScoreFromScratch)
public void setAssertShadowVariablesAreNotStale(boolean assertShadowVariablesAreNotStale)
public void setAssertBestScoreIsUnmodified(boolean assertBestScoreIsUnmodified)
public void setSolverEventSupport(SolverEventSupport solverEventSupport)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted in interface SolverLifecycleListenersolvingStarted in class SolverLifecycleListenerAdapterpublic void processWorkingSolutionDuringStep(AbstractStepScope stepScope)
public void processWorkingSolutionDuringMove(int uninitializedVariableCount,
Score score,
AbstractStepScope stepScope)
public void updateBestSolution(DefaultSolverScope solverScope, Solution solution, int uninitializedVariableCount)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.