Class DefaultExhaustiveSearchPhase.Builder<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhase.Builder<Solution_>
org.optaplanner.core.impl.exhaustivesearch.DefaultExhaustiveSearchPhase.Builder<Solution_>
- Enclosing class:
- DefaultExhaustiveSearchPhase<Solution_>
public static class DefaultExhaustiveSearchPhase.Builder<Solution_>
extends AbstractPhase.Builder<Solution_>
-
Constructor Summary
ConstructorDescriptionBuilder
(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination, Comparator<ExhaustiveSearchNode> nodeComparator, EntitySelector<Solution_> entitySelector, ExhaustiveSearchDecider<Solution_> decider) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
setAssertExpectedWorkingSolutionScore
(boolean assertExpectedWorkingSolutionScore) void
setAssertWorkingSolutionScoreFromScratch
(boolean assertWorkingSolutionScoreFromScratch) Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase.Builder
setAssertExpectedStepScore, setAssertShadowVariablesAreNotStaleAfterStep, setAssertStepScoreFromScratch
-
Constructor Details
-
Builder
public Builder(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination, Comparator<ExhaustiveSearchNode> nodeComparator, EntitySelector<Solution_> entitySelector, ExhaustiveSearchDecider<Solution_> decider)
-
-
Method Details
-
setAssertWorkingSolutionScoreFromScratch
public void setAssertWorkingSolutionScoreFromScratch(boolean assertWorkingSolutionScoreFromScratch) -
setAssertExpectedWorkingSolutionScore
public void setAssertExpectedWorkingSolutionScore(boolean assertExpectedWorkingSolutionScore) -
build
- Specified by:
build
in classAbstractPhase.Builder<Solution_>
-