Package org.optaplanner.core.impl.phase
Class AbstractPhase.Builder<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhase.Builder<Solution_>
- Direct Known Subclasses:
DefaultConstructionHeuristicPhase.Builder
,DefaultExhaustiveSearchPhase.Builder
,DefaultLocalSearchPhase.Builder
,DefaultPartitionedSearchPhase.Builder
,NoChangePhase.Builder
- Enclosing class:
- AbstractPhase<Solution_>
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractPhase<Solution_>
build()
void
setAssertExpectedStepScore
(boolean assertExpectedStepScore) void
setAssertShadowVariablesAreNotStaleAfterStep
(boolean assertShadowVariablesAreNotStaleAfterStep) void
setAssertStepScoreFromScratch
(boolean assertStepScoreFromScratch)
-
Constructor Details
-
Builder
-
-
Method Details
-
setAssertStepScoreFromScratch
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch) -
setAssertExpectedStepScore
public void setAssertExpectedStepScore(boolean assertExpectedStepScore) -
setAssertShadowVariablesAreNotStaleAfterStep
public void setAssertShadowVariablesAreNotStaleAfterStep(boolean assertShadowVariablesAreNotStaleAfterStep) -
build
-