Solution_
- the solution type, the class with the PlanningSolution
annotationpublic abstract class AbstractStepScope<Solution_> 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 AbstractPhaseScope<Solution_> |
getPhaseScope() |
Score |
getScore() |
InnerScoreDirector<Solution_> |
getScoreDirector() |
int |
getStepIndex() |
Random |
getWorkingRandom() |
Solution_ |
getWorkingSolution() |
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 AbstractPhaseScope<Solution_> getPhaseScope()
public int getStepIndex()
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 InnerScoreDirector<Solution_> getScoreDirector()
public Solution_ getWorkingSolution()
public Random getWorkingRandom()
public Solution_ createOrGetClonedSolution()
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.