Class AbstractStepScope<Solution_>
- java.lang.Object
- 
- org.optaplanner.core.impl.phase.scope.AbstractStepScope<Solution_>
 
- 
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
 - Direct Known Subclasses:
- ConstructionHeuristicStepScope,- CustomStepScope,- ExhaustiveSearchStepScope,- LocalSearchStepScope,- PartitionedSearchStepScope
 
 public abstract class AbstractStepScope<Solution_> extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected BooleanbestScoreImprovedprotected Solution_clonedSolutionprotected Score<?>scoreprotected intstepIndex
 - 
Constructor SummaryConstructors Constructor Description AbstractStepScope(int stepIndex)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Solution_createOrGetClonedSolution()BooleangetBestScoreImproved()Solution_getClonedSolution()abstract AbstractPhaseScope<Solution_>getPhaseScope()Score<?>getScore()<Score_ extends Score<Score_>>
 InnerScoreDirector<Solution_,Score_>getScoreDirector()intgetStepIndex()RandomgetWorkingRandom()Solution_getWorkingSolution()voidsetBestScoreImproved(Boolean bestScoreImproved)voidsetClonedSolution(Solution_ clonedSolution)voidsetScore(Score<?> score)StringtoString()
 
- 
- 
- 
Method Detail- 
getPhaseScopepublic abstract AbstractPhaseScope<Solution_> getPhaseScope() 
 - 
getStepIndexpublic int getStepIndex() 
 - 
getScorepublic Score<?> getScore() 
 - 
setScorepublic void setScore(Score<?> score) 
 - 
getBestScoreImprovedpublic Boolean getBestScoreImproved() 
 - 
setBestScoreImprovedpublic void setBestScoreImproved(Boolean bestScoreImproved) 
 - 
getClonedSolutionpublic Solution_ getClonedSolution() 
 - 
setClonedSolutionpublic void setClonedSolution(Solution_ clonedSolution) 
 - 
getScoreDirectorpublic <Score_ extends Score<Score_>> InnerScoreDirector<Solution_,Score_> getScoreDirector() 
 - 
getWorkingSolutionpublic Solution_ getWorkingSolution() 
 - 
getWorkingRandompublic Random getWorkingRandom() 
 - 
createOrGetClonedSolutionpublic Solution_ createOrGetClonedSolution() 
 
- 
 
-