Class AbstractStepScope<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.phase.scope.AbstractStepScope<Solution_>
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
- Direct Known Subclasses:
ConstructionHeuristicStepScope,CustomStepScope,ExhaustiveSearchStepScope,LocalSearchStepScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Solution_protected InnerScore<?>protected final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<Score_ extends Score<Score_>>
MoveDirector<Solution_,Score_> abstract AbstractPhaseScope<Solution_><Score_ extends Score<Score_>>
InnerScore<Score_>getScore()<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> intvoidsetBestScoreImproved(Boolean bestScoreImproved) voidsetInitializedScore(Score<?> score) voidsetScore(InnerScore<?> score) toString()
-
Field Details
-
stepIndex
protected final int stepIndex -
score
-
bestScoreImproved
protected boolean bestScoreImproved -
clonedSolution
-
-
Constructor Details
-
AbstractStepScope
public AbstractStepScope(int stepIndex)
-
-
Method Details
-
getPhaseScope
-
getStepIndex
public int getStepIndex() -
getScore
-
setInitializedScore
-
setScore
-
getBestScoreImproved
public boolean getBestScoreImproved() -
setBestScoreImproved
-
getScoreDirector
-
getMoveDirector
-
getWorkingSolution
-
getWorkingRandom
-
createOrGetClonedSolution
-
toString
-