Solution_ - the solution type, the class with the PlanningSolution annotationpublic class LocalSearchStepScope<Solution_> extends AbstractStepScope<Solution_>
bestScoreImproved, clonedSolution, score, stepIndex| Constructor and Description |
|---|
LocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope) |
LocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope,
int stepIndex) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAcceptedMoveCount() |
LocalSearchPhaseScope<Solution_> |
getPhaseScope() |
Long |
getSelectedMoveCount() |
Move |
getStep() |
String |
getStepString() |
double |
getTimeGradient() |
Move |
getUndoStep() |
void |
setAcceptedMoveCount(Long acceptedMoveCount) |
void |
setSelectedMoveCount(Long selectedMoveCount) |
void |
setStep(Move step) |
void |
setStepString(String stepString) |
void |
setTimeGradient(double timeGradient) |
void |
setUndoStep(Move undoStep) |
createOrGetClonedSolution, getBestScoreImproved, getClonedSolution, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setClonedSolution, setScore, toStringpublic LocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope)
public LocalSearchStepScope(LocalSearchPhaseScope<Solution_> phaseScope, int stepIndex)
public LocalSearchPhaseScope<Solution_> getPhaseScope()
getPhaseScope in class AbstractStepScope<Solution_>public double getTimeGradient()
public void setTimeGradient(double timeGradient)
public Move getStep()
public void setStep(Move step)
public String getStepString()
public void setStepString(String stepString)
public Move getUndoStep()
public void setUndoStep(Move undoStep)
public Long getSelectedMoveCount()
public void setSelectedMoveCount(Long selectedMoveCount)
public Long getAcceptedMoveCount()
public void setAcceptedMoveCount(Long acceptedMoveCount)
Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.