public class ExhaustiveSearchDecider extends Object implements ExhaustiveSearchPhaseLifecycleListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedUndoMoveScore |
protected boolean |
assertMoveScoreFromScratch |
protected BestSolutionRecaller |
bestSolutionRecaller |
protected org.slf4j.Logger |
logger |
protected ManualEntityMimicRecorder |
manualEntityMimicRecorder |
protected MoveSelector |
moveSelector |
protected ScoreBounder |
scoreBounder |
protected boolean |
scoreBounderEnabled |
protected Termination |
termination |
Constructor and Description |
---|
ExhaustiveSearchDecider(BestSolutionRecaller bestSolutionRecaller,
Termination termination,
ManualEntityMimicRecorder manualEntityMimicRecorder,
MoveSelector moveSelector,
boolean scoreBounderEnabled,
ScoreBounder scoreBounder) |
Modifier and Type | Method and Description |
---|---|
void |
expandNode(ExhaustiveSearchStepScope stepScope) |
ManualEntityMimicRecorder |
getManualEntityMimicRecorder() |
MoveSelector |
getMoveSelector() |
ScoreBounder |
getScoreBounder() |
boolean |
isScoreBounderEnabled() |
void |
phaseEnded(ExhaustiveSearchPhaseScope phaseScope) |
void |
phaseStarted(ExhaustiveSearchPhaseScope phaseScope) |
void |
setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore) |
void |
setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(ExhaustiveSearchStepScope stepScope) |
void |
stepStarted(ExhaustiveSearchStepScope stepScope) |
protected final transient org.slf4j.Logger logger
protected final BestSolutionRecaller bestSolutionRecaller
protected final Termination termination
protected final ManualEntityMimicRecorder manualEntityMimicRecorder
protected final MoveSelector moveSelector
protected final boolean scoreBounderEnabled
protected final ScoreBounder scoreBounder
protected boolean assertMoveScoreFromScratch
protected boolean assertExpectedUndoMoveScore
public ExhaustiveSearchDecider(BestSolutionRecaller bestSolutionRecaller, Termination termination, ManualEntityMimicRecorder manualEntityMimicRecorder, MoveSelector moveSelector, boolean scoreBounderEnabled, ScoreBounder scoreBounder)
public ManualEntityMimicRecorder getManualEntityMimicRecorder()
public MoveSelector getMoveSelector()
public boolean isScoreBounderEnabled()
public ScoreBounder getScoreBounder()
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
public void phaseStarted(ExhaustiveSearchPhaseScope phaseScope)
phaseStarted
in interface ExhaustiveSearchPhaseLifecycleListener
public void stepStarted(ExhaustiveSearchStepScope stepScope)
stepStarted
in interface ExhaustiveSearchPhaseLifecycleListener
public void stepEnded(ExhaustiveSearchStepScope stepScope)
stepEnded
in interface ExhaustiveSearchPhaseLifecycleListener
public void phaseEnded(ExhaustiveSearchPhaseScope phaseScope)
phaseEnded
in interface ExhaustiveSearchPhaseLifecycleListener
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
public void expandNode(ExhaustiveSearchStepScope stepScope)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.