org.drools.planner.core.phase.step
Class AbstractStepScope
java.lang.Object
org.drools.planner.core.phase.step.AbstractStepScope
- Direct Known Subclasses:
- BruteForceStepScope, ConstructionHeuristicStepScope, CustomStepScope, GreedyFitStepScope, LocalSearchStepScope
public abstract class AbstractStepScope
- extends Object
stepIndex
protected int stepIndex
score
protected Score score
bestScoreImproved
protected Boolean bestScoreImproved
clonedSolution
protected Solution clonedSolution
AbstractStepScope
public AbstractStepScope()
getPhaseScope
public abstract AbstractSolverPhaseScope getPhaseScope()
getStepIndex
public int getStepIndex()
setStepIndex
public void setStepIndex(int stepIndex)
isBestSolutionCloningDelayed
public abstract boolean isBestSolutionCloningDelayed()
getUninitializedVariableCount
public abstract int getUninitializedVariableCount()
getScore
public Score getScore()
setScore
public void setScore(Score score)
getBestScoreImproved
public Boolean getBestScoreImproved()
setBestScoreImproved
public void setBestScoreImproved(Boolean bestScoreImproved)
getClonedSolution
public Solution getClonedSolution()
setClonedSolution
public void setClonedSolution(Solution clonedSolution)
getScoreDirector
public ScoreDirector getScoreDirector()
getWorkingSolution
public Solution getWorkingSolution()
getWorkingRandom
public Random getWorkingRandom()
createOrGetClonedSolution
public Solution createOrGetClonedSolution()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.