public class DefaultExhaustiveSearchPhase extends AbstractPhase implements ExhaustiveSearchPhase
ExhaustiveSearchPhase
.Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedWorkingSolutionScore |
protected boolean |
assertWorkingSolutionScoreFromScratch |
protected ExhaustiveSearchDecider |
decider |
protected EntitySelector |
entitySelector |
protected Comparator<ExhaustiveSearchNode> |
nodeComparator |
bestSolutionRecaller, logger, phaseIndex, phaseLifecycleSupport, termination
Constructor and Description |
---|
DefaultExhaustiveSearchPhase() |
Modifier and Type | Method and Description |
---|---|
ExhaustiveSearchDecider |
getDecider() |
EntitySelector |
getEntitySelector() |
Comparator<ExhaustiveSearchNode> |
getNodeComparator() |
String |
getPhaseTypeString() |
void |
phaseEnded(ExhaustiveSearchPhaseScope phaseScope) |
void |
phaseStarted(ExhaustiveSearchPhaseScope phaseScope) |
protected void |
restoreWorkingSolution(ExhaustiveSearchStepScope stepScope) |
void |
setAssertExpectedWorkingSolutionScore(boolean assertExpectedWorkingSolutionScore) |
void |
setAssertWorkingSolutionScoreFromScratch(boolean assertWorkingSolutionScoreFromScratch) |
void |
setDecider(ExhaustiveSearchDecider decider) |
void |
setEntitySelector(EntitySelector entitySelector) |
void |
setNodeComparator(Comparator<ExhaustiveSearchNode> nodeComparator) |
void |
solve(DefaultSolverScope solverScope) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(ExhaustiveSearchStepScope stepScope) |
void |
stepStarted(ExhaustiveSearchStepScope stepScope) |
addPhaseLifecycleListener, assertWorkingSolutionInitialized, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removePhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPhaseLifecycleListener, removePhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
protected Comparator<ExhaustiveSearchNode> nodeComparator
protected EntitySelector entitySelector
protected ExhaustiveSearchDecider decider
protected boolean assertWorkingSolutionScoreFromScratch
protected boolean assertExpectedWorkingSolutionScore
public Comparator<ExhaustiveSearchNode> getNodeComparator()
public void setNodeComparator(Comparator<ExhaustiveSearchNode> nodeComparator)
public EntitySelector getEntitySelector()
public void setEntitySelector(EntitySelector entitySelector)
public ExhaustiveSearchDecider getDecider()
public void setDecider(ExhaustiveSearchDecider decider)
public void setAssertWorkingSolutionScoreFromScratch(boolean assertWorkingSolutionScoreFromScratch)
public void setAssertExpectedWorkingSolutionScore(boolean assertExpectedWorkingSolutionScore)
public String getPhaseTypeString()
getPhaseTypeString
in class AbstractPhase
public void solve(DefaultSolverScope solverScope)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
solvingStarted
in class AbstractPhase
public void phaseStarted(ExhaustiveSearchPhaseScope phaseScope)
public void stepStarted(ExhaustiveSearchStepScope stepScope)
protected void restoreWorkingSolution(ExhaustiveSearchStepScope stepScope)
public void stepEnded(ExhaustiveSearchStepScope stepScope)
public void phaseEnded(ExhaustiveSearchPhaseScope phaseScope)
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
solvingEnded
in class AbstractPhase
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.