OptaPlanner core 6.2.0.Beta1

org.optaplanner.core.impl.constructionheuristic.scope
Class ConstructionHeuristicStepScope

java.lang.Object
  extended by org.optaplanner.core.impl.phase.scope.AbstractStepScope
      extended by org.optaplanner.core.impl.constructionheuristic.scope.ConstructionHeuristicStepScope

public class ConstructionHeuristicStepScope
extends AbstractStepScope


Field Summary
 
Fields inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScope
bestScoreImproved, clonedSolution, score, stepIndex
 
Constructor Summary
ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope phaseScope)
           
ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope phaseScope, int stepIndex)
           
 
Method Summary
 Object getEntity()
           
 ConstructionHeuristicPhaseScope getPhaseScope()
           
 Long getSelectedMoveCount()
           
 Move getStep()
           
 String getStepString()
           
 Move getUndoStep()
           
 int getUninitializedVariableCount()
           
 boolean hasNoUninitializedVariables()
           
 void setEntity(Object entity)
           
 void setSelectedMoveCount(Long selectedMoveCount)
           
 void setStep(Move step)
           
 void setStepString(String stepString)
           
 void setUndoStep(Move undoStep)
           
 
Methods inherited from class org.optaplanner.core.impl.phase.scope.AbstractStepScope
createOrGetClonedSolution, getBestScoreImproved, getClonedSolution, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setClonedSolution, setScore, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructionHeuristicStepScope

public ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope phaseScope)

ConstructionHeuristicStepScope

public ConstructionHeuristicStepScope(ConstructionHeuristicPhaseScope phaseScope,
                                      int stepIndex)
Method Detail

getPhaseScope

public ConstructionHeuristicPhaseScope getPhaseScope()
Specified by:
getPhaseScope in class AbstractStepScope

getEntity

public Object getEntity()

setEntity

public void setEntity(Object entity)

getStep

public Move getStep()

setStep

public void setStep(Move step)

getStepString

public String getStepString()
Returns:
null if logging level is to high

setStepString

public void setStepString(String stepString)

getUndoStep

public Move getUndoStep()

setUndoStep

public void setUndoStep(Move undoStep)

getSelectedMoveCount

public Long getSelectedMoveCount()

setSelectedMoveCount

public void setSelectedMoveCount(Long selectedMoveCount)

getUninitializedVariableCount

public int getUninitializedVariableCount()
Specified by:
getUninitializedVariableCount in class AbstractStepScope

hasNoUninitializedVariables

public boolean hasNoUninitializedVariables()
Overrides:
hasNoUninitializedVariables in class AbstractStepScope

OptaPlanner core 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.