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
Constructors Constructor Description Builder(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination, Comparator<ExhaustiveSearchNode> nodeComparator, EntitySelector<Solution_> entitySelector, ExhaustiveSearchDecider<Solution_> decider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultExhaustiveSearchPhase<Solution_>
build()
void
setAssertExpectedWorkingSolutionScore(boolean assertExpectedWorkingSolutionScore)
void
setAssertWorkingSolutionScoreFromScratch(boolean assertWorkingSolutionScoreFromScratch)
-
Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase.Builder
setAssertExpectedStepScore, setAssertShadowVariablesAreNotStaleAfterStep, setAssertStepScoreFromScratch
-
-
-
-
Constructor Detail
-
Builder
public Builder(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination, Comparator<ExhaustiveSearchNode> nodeComparator, EntitySelector<Solution_> entitySelector, ExhaustiveSearchDecider<Solution_> decider)
-
-
Method Detail
-
setAssertWorkingSolutionScoreFromScratch
public void setAssertWorkingSolutionScoreFromScratch(boolean assertWorkingSolutionScoreFromScratch)
-
setAssertExpectedWorkingSolutionScore
public void setAssertExpectedWorkingSolutionScore(boolean assertExpectedWorkingSolutionScore)
-
build
public DefaultExhaustiveSearchPhase<Solution_> build()
- Specified by:
build
in classAbstractPhase.Builder<Solution_>
-
-