Package org.optaplanner.core.impl.phase
Class NoChangePhase<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.phase.AbstractPhase<Solution_>
-
- org.optaplanner.core.impl.phase.NoChangePhase<Solution_>
-
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
- All Implemented Interfaces:
EventListener
,PhaseLifecycleListener<Solution_>
,Phase<Solution_>
,SolverLifecycleListener<Solution_>
public class NoChangePhase<Solution_> extends AbstractPhase<Solution_>
ANoChangePhase
is aPhase
which does nothing.- See Also:
Phase
,AbstractPhase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoChangePhase.Builder<Solution_>
-
Field Summary
-
Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhase
assertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPhaseTypeString()
void
solve(SolverScope<Solution_> solverScope)
-
Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase
addPhaseLifecycleListener, assertWorkingSolutionInitialized, calculateWorkingStepScore, getPhaseIndex, getPhaseTermination, getSolver, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setSolver, solvingEnded, solvingStarted, stepEnded, stepStarted
-
-
-
-
Method Detail
-
getPhaseTypeString
public String getPhaseTypeString()
- Specified by:
getPhaseTypeString
in classAbstractPhase<Solution_>
-
solve
public void solve(SolverScope<Solution_> solverScope)
-
-