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 the- PlanningSolutionannotation
 
 public class ConstructionHeuristicStepScope<Solution_> extends AbstractStepScope<Solution_> 
- 
- 
Field Summary- 
Fields inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScopebestScoreImproved, clonedSolution, score, stepIndex
 
- 
 - 
Constructor SummaryConstructors Constructor Description ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope<Solution_> phaseScope)ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope<Solution_> phaseScope, int stepIndex)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetEntity()ConstructionHeuristicPhaseScope<Solution_>getPhaseScope()LonggetSelectedMoveCount()Move<Solution_>getStep()StringgetStepString()Move<Solution_>getUndoStep()voidsetEntity(Object entity)voidsetSelectedMoveCount(Long selectedMoveCount)voidsetStep(Move<Solution_> step)voidsetStepString(String stepString)voidsetUndoStep(Move<Solution_> undoStep)- 
Methods inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScopecreateOrGetClonedSolution, getBestScoreImproved, getClonedSolution, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setClonedSolution, setScore, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ConstructionHeuristicStepScopepublic ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope<Solution_> phaseScope) 
 - 
ConstructionHeuristicStepScopepublic ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope<Solution_> phaseScope, int stepIndex) 
 
- 
 - 
Method Detail- 
getPhaseScopepublic ConstructionHeuristicPhaseScope<Solution_> getPhaseScope() - Specified by:
- getPhaseScopein class- AbstractStepScope<Solution_>
 
 - 
getEntitypublic Object getEntity() 
 - 
setEntitypublic void setEntity(Object entity) 
 - 
getStepStringpublic String getStepString() - Returns:
- null if logging level is to high
 
 - 
setStepStringpublic void setStepString(String stepString) 
 - 
getSelectedMoveCountpublic Long getSelectedMoveCount() 
 - 
setSelectedMoveCountpublic void setSelectedMoveCount(Long selectedMoveCount) 
 
- 
 
-