Class LocalSearchStepScope<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.scope.AbstractStepScope<Solution_>
org.optaplanner.core.impl.localsearch.scope.LocalSearchStepScope<Solution_>
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
- 
Field SummaryFields inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScopebestScoreImproved, clonedSolution, score, stepIndex
- 
Constructor SummaryConstructorsConstructorDescriptionLocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope) LocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope, int stepIndex) 
- 
Method SummaryModifier and TypeMethodDescriptiongetStep()doublevoidsetAcceptedMoveCount(Long acceptedMoveCount) voidsetSelectedMoveCount(Long selectedMoveCount) voidvoidsetStepString(String stepString) voidsetTimeGradient(double timeGradient) voidsetUndoStep(Move<Solution_> undoStep) Methods inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScopecreateOrGetClonedSolution, getBestScoreImproved, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setScore, toString
- 
Constructor Details- 
LocalSearchStepScope
- 
LocalSearchStepScope
 
- 
- 
Method Details- 
getPhaseScope- Specified by:
- getPhaseScopein class- AbstractStepScope<Solution_>
 
- 
getTimeGradientpublic double getTimeGradient()
- 
setTimeGradientpublic void setTimeGradient(double timeGradient) 
- 
getStep
- 
setStep
- 
getStepString- Returns:
- null if logging level is too high
 
- 
setStepString
- 
getUndoStep
- 
setUndoStep
- 
getSelectedMoveCount
- 
setSelectedMoveCount
- 
getAcceptedMoveCount
- 
setAcceptedMoveCount
 
-