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<Solution_> |
getStep() |
String |
getStepString() |
double |
getTimeGradient() |
Move<Solution_> |
getUndoStep() |
void |
setAcceptedMoveCount(Long acceptedMoveCount) |
void |
setSelectedMoveCount(Long selectedMoveCount) |
void |
setStep(Move<Solution_> step) |
void |
setStepString(String stepString) |
void |
setTimeGradient(double timeGradient) |
void |
setUndoStep(Move<Solution_> 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 String getStepString()
public void setStepString(String stepString)
public Long getSelectedMoveCount()
public void setSelectedMoveCount(Long selectedMoveCount)
public Long getAcceptedMoveCount()
public void setAcceptedMoveCount(Long acceptedMoveCount)
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.