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