Class ConstructionHeuristicStepScope<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.scope.AbstractStepScope<Solution_>
org.optaplanner.core.impl.constructionheuristic.scope.ConstructionHeuristicStepScope<Solution_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
-
Field Summary
Fields inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScope
bestScoreImproved, clonedSolution, score, stepIndex
-
Constructor Summary
ConstructorDescriptionConstructionHeuristicStepScope
(ConstructionHeuristicPhaseScope<Solution_> phaseScope, int stepIndex) -
Method Summary
Modifier and TypeMethodDescriptiongetStep()
void
void
setSelectedMoveCount
(Long selectedMoveCount) void
void
setStepString
(String stepString) Methods inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScope
createOrGetClonedSolution, getBestScoreImproved, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setScore, toString
-
Constructor Details
-
ConstructionHeuristicStepScope
-
ConstructionHeuristicStepScope
public ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope<Solution_> phaseScope, int stepIndex)
-
-
Method Details
-
getPhaseScope
- Specified by:
getPhaseScope
in classAbstractStepScope<Solution_>
-
getEntity
-
setEntity
-
getStep
-
setStep
-
getStepString
- Returns:
- null if logging level is too high
-
setStepString
-
getSelectedMoveCount
-
setSelectedMoveCount
-