org.optaplanner.core.impl.localsearch.scope
public class LocalSearchStepScope extends AbstractStepScope
bestScoreImproved, clonedSolution, score, stepIndex
Constructor and Description |
---|
LocalSearchStepScope(LocalSearchSolverPhaseScope phaseScope) |
LocalSearchStepScope(LocalSearchSolverPhaseScope phaseScope,
int stepIndex) |
Modifier and Type | Method and Description |
---|---|
Long |
getAcceptedMoveCount() |
LocalSearchSolverPhaseScope |
getPhaseScope() |
Long |
getSelectedMoveCount() |
Move |
getStep() |
String |
getStepString() |
double |
getTimeGradient() |
Move |
getUndoStep() |
int |
getUninitializedVariableCount() |
boolean |
isBestSolutionCloningDelayed() |
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, hasNoUninitializedVariables, setBestScoreImproved, setClonedSolution, setScore, toString
public LocalSearchStepScope(LocalSearchSolverPhaseScope phaseScope)
public LocalSearchStepScope(LocalSearchSolverPhaseScope phaseScope, int stepIndex)
public LocalSearchSolverPhaseScope getPhaseScope()
getPhaseScope
in class AbstractStepScope
public boolean isBestSolutionCloningDelayed()
isBestSolutionCloningDelayed
in class AbstractStepScope
public int getUninitializedVariableCount()
getUninitializedVariableCount
in class AbstractStepScope
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-2013 JBoss by Red Hat. All Rights Reserved.