org.drools.planner.core.constructionheuristic.greedyFit.scope
Class GreedyFitStepScope
java.lang.Object
org.drools.planner.core.phase.step.AbstractStepScope
org.drools.planner.core.constructionheuristic.greedyFit.scope.GreedyFitStepScope
public class GreedyFitStepScope
- extends AbstractStepScope
Methods inherited from class org.drools.planner.core.phase.step.AbstractStepScope |
createOrGetClonedSolution, getBestScoreImproved, getClonedSolution, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setClonedSolution, setScore, setStepIndex, toString |
GreedyFitStepScope
public GreedyFitStepScope(GreedyFitSolverPhaseScope phaseScope)
getPhaseScope
public GreedyFitSolverPhaseScope getPhaseScope()
- Specified by:
getPhaseScope
in class AbstractStepScope
isBestSolutionCloningDelayed
public boolean isBestSolutionCloningDelayed()
- Specified by:
isBestSolutionCloningDelayed
in class AbstractStepScope
getUninitializedVariableCount
public int getUninitializedVariableCount()
- Should not be called because
isBestSolutionCloningDelayed()
return true
- Specified by:
getUninitializedVariableCount
in class AbstractStepScope
- Returns:
- throws exception
getPlanningEntity
public Object getPlanningEntity()
setPlanningEntity
public void setPlanningEntity(Object planningEntity)
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)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.