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 thePlanningSolutionannotation
- All Implemented Interfaces:
EventListener,PhaseLifecycleListener<Solution_>,Phase<Solution_>,SolverLifecycleListener<Solution_>
public class NoChangePhase<Solution_> extends AbstractPhase<Solution_>
ANoChangePhaseis aPhasewhich does nothing.- See Also:
Phase,AbstractPhase
-
-
Field Summary
-
Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhase
assertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver, stepScoreMap
-
-
Constructor Summary
Constructors Constructor Description NoChangePhase(int phaseIndex, String logIndentation, Termination<Solution_> termination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPhaseTypeString()voidsolve(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, setAssertExpectedStepScore, setAssertShadowVariablesAreNotStaleAfterStep, setAssertStepScoreFromScratch, setSolver, solvingEnded, solvingStarted, stepEnded, stepStarted
-
-
-
-
Constructor Detail
-
NoChangePhase
public NoChangePhase(int phaseIndex, String logIndentation, Termination<Solution_> termination)
-
-
Method Detail
-
getPhaseTypeString
public String getPhaseTypeString()
- Specified by:
getPhaseTypeStringin classAbstractPhase<Solution_>
-
solve
public void solve(SolverScope<Solution_> solverScope)
-
-