Class LocalSearchStepScope<Solution_>

java.lang.Object
org.optaplanner.core.impl.phase.scope.AbstractStepScope<Solution_>
org.optaplanner.core.impl.localsearch.scope.LocalSearchStepScope<Solution_>
Type Parameters:
Solution_ - the solution type, the class with the PlanningSolution annotation

public class LocalSearchStepScope<Solution_> extends AbstractStepScope<Solution_>
  • Constructor Details

  • Method Details

    • getPhaseScope

      public LocalSearchPhaseScope<Solution_> getPhaseScope()
      Specified by:
      getPhaseScope in class AbstractStepScope<Solution_>
    • getTimeGradient

      public double getTimeGradient()
    • setTimeGradient

      public void setTimeGradient(double timeGradient)
    • getStep

      public Move<Solution_> getStep()
    • setStep

      public void setStep(Move<Solution_> step)
    • getStepString

      public String getStepString()
      Returns:
      null if logging level is too high
    • setStepString

      public void setStepString(String stepString)
    • getUndoStep

      public Move<Solution_> getUndoStep()
    • setUndoStep

      public void setUndoStep(Move<Solution_> undoStep)
    • getSelectedMoveCount

      public Long getSelectedMoveCount()
    • setSelectedMoveCount

      public void setSelectedMoveCount(Long selectedMoveCount)
    • getAcceptedMoveCount

      public Long getAcceptedMoveCount()
    • setAcceptedMoveCount

      public void setAcceptedMoveCount(Long acceptedMoveCount)