Solution_ - the solution type, the class with the PlanningSolution annotationpublic class NoChangePhase<Solution_> extends AbstractPhase<Solution_>
NoChangePhase is a Phase which does nothing.Phase,
AbstractPhaseassertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, bestSolutionRecaller, logger, logIndentation, phaseIndex, phaseLifecycleSupport, solverPhaseLifecycleSupport, termination| Constructor and Description |
|---|
NoChangePhase(int phaseIndex,
String logIndentation,
BestSolutionRecaller<Solution_> bestSolutionRecaller,
Termination termination) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPhaseTypeString() |
void |
solve(DefaultSolverScope<Solution_> solverScope) |
addPhaseLifecycleListener, assertWorkingSolutionInitialized, calculateWorkingStepScore, getPhaseIndex, getTermination, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setAssertExpectedStepScore, setAssertShadowVariablesAreNotStaleAfterStep, setAssertStepScoreFromScratch, setSolverPhaseLifecycleSupport, solvingEnded, solvingStarted, stepEnded, stepStartedpublic NoChangePhase(int phaseIndex,
String logIndentation,
BestSolutionRecaller<Solution_> bestSolutionRecaller,
Termination termination)
public String getPhaseTypeString()
getPhaseTypeString in class AbstractPhase<Solution_>public void solve(DefaultSolverScope<Solution_> solverScope)
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.