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
,DefaultCustomPhase.Builder
,DefaultExhaustiveSearchPhase.Builder
,DefaultLocalSearchPhase.Builder
,DefaultPartitionedSearchPhase.Builder
,NoChangePhase.Builder
- Enclosing class:
- AbstractPhase<Solution_>
protected abstract static class AbstractPhase.Builder<Solution_> extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractPhase<Solution_>
build()
void
setAssertExpectedStepScore(boolean assertExpectedStepScore)
void
setAssertShadowVariablesAreNotStaleAfterStep(boolean assertShadowVariablesAreNotStaleAfterStep)
void
setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
-
-
-
Constructor Detail
-
Builder
protected Builder(int phaseIndex, String logIndentation, Termination<Solution_> phaseTermination)
-
-
Method Detail
-
setAssertStepScoreFromScratch
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
-
setAssertExpectedStepScore
public void setAssertExpectedStepScore(boolean assertExpectedStepScore)
-
setAssertShadowVariablesAreNotStaleAfterStep
public void setAssertShadowVariablesAreNotStaleAfterStep(boolean assertShadowVariablesAreNotStaleAfterStep)
-
build
protected abstract AbstractPhase<Solution_> build()
-
-