public class ConstructionHeuristicStepScope extends AbstractStepScope
bestScoreImproved, clonedSolution, score, stepIndex
Constructor and Description |
---|
ConstructionHeuristicStepScope(ConstructionHeuristicSolverPhaseScope phaseScope) |
ConstructionHeuristicStepScope(ConstructionHeuristicSolverPhaseScope phaseScope,
int stepIndex) |
Modifier and Type | Method and Description |
---|---|
Object |
getEntity() |
ConstructionHeuristicSolverPhaseScope |
getPhaseScope() |
Long |
getSelectedMoveCount() |
Move |
getStep() |
String |
getStepString() |
Move |
getUndoStep() |
int |
getUninitializedVariableCount()
Should not be called because
isBestSolutionCloningDelayed() returns true |
boolean |
hasNoUninitializedVariables() |
boolean |
isBestSolutionCloningDelayed() |
void |
setEntity(Object entity) |
void |
setSelectedMoveCount(Long selectedMoveCount) |
void |
setStep(Move step) |
void |
setStepString(String stepString) |
void |
setUndoStep(Move undoStep) |
createOrGetClonedSolution, getBestScoreImproved, getClonedSolution, getScore, getScoreDirector, getStepIndex, getWorkingRandom, getWorkingSolution, setBestScoreImproved, setClonedSolution, setScore, toString
public ConstructionHeuristicStepScope(ConstructionHeuristicSolverPhaseScope phaseScope)
public ConstructionHeuristicStepScope(ConstructionHeuristicSolverPhaseScope phaseScope, int stepIndex)
public ConstructionHeuristicSolverPhaseScope getPhaseScope()
getPhaseScope
in class AbstractStepScope
public boolean isBestSolutionCloningDelayed()
isBestSolutionCloningDelayed
in class AbstractStepScope
public int getUninitializedVariableCount()
isBestSolutionCloningDelayed()
returns truegetUninitializedVariableCount
in class AbstractStepScope
public boolean hasNoUninitializedVariables()
hasNoUninitializedVariables
in class AbstractStepScope
public Object getEntity()
public void setEntity(Object entity)
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)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.