public abstract class AbstractStepScope extends Object
Modifier and Type | Field and Description |
---|---|
protected Boolean |
bestScoreImproved |
protected Solution |
clonedSolution |
protected Score |
score |
protected int |
stepIndex |
Constructor and Description |
---|
AbstractStepScope(int stepIndex) |
Modifier and Type | Method and Description |
---|---|
Solution |
createOrGetClonedSolution() |
Boolean |
getBestScoreImproved() |
Solution |
getClonedSolution() |
abstract AbstractSolverPhaseScope |
getPhaseScope() |
Score |
getScore() |
ScoreDirector |
getScoreDirector() |
int |
getStepIndex() |
abstract int |
getUninitializedVariableCount() |
Random |
getWorkingRandom() |
Solution |
getWorkingSolution() |
boolean |
hasNoUninitializedVariables() |
abstract boolean |
isBestSolutionCloningDelayed() |
void |
setBestScoreImproved(Boolean bestScoreImproved) |
void |
setClonedSolution(Solution clonedSolution) |
void |
setScore(Score score) |
String |
toString() |
protected final int stepIndex
protected Score score
protected Boolean bestScoreImproved
protected Solution clonedSolution
public abstract AbstractSolverPhaseScope getPhaseScope()
public int getStepIndex()
public abstract boolean isBestSolutionCloningDelayed()
public abstract int getUninitializedVariableCount()
public boolean hasNoUninitializedVariables()
public Score getScore()
public void setScore(Score score)
public Boolean getBestScoreImproved()
public void setBestScoreImproved(Boolean bestScoreImproved)
public Solution getClonedSolution()
public void setClonedSolution(Solution clonedSolution)
public ScoreDirector getScoreDirector()
public Solution getWorkingSolution()
public Random getWorkingRandom()
public Solution createOrGetClonedSolution()
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.