Interface ImproveSolution<T extends Var>

Type Parameters:
T - type of the variable for which choice point is being created.
All Known Implementing Classes:
SimpleImprovementSearch

public interface ImproveSolution<T extends Var>
Defines an interface for defining different methods for selecting next search decision to be taken. The search decision called choice point will be first enforced and later upon backtrack a negation of that search decision will be enforced.
Version:
4.9
  • Method Details

    • searchFromEmptySolution

      boolean searchFromEmptySolution(int failLimit)
    • searchFromEliteSolution

      boolean searchFromEliteSolution(int[] solution, int failLimit)
    • getCurrentCost

      int getCurrentCost()
    • getSolution

      int[] getSolution()
    • getNumberFails

      int getNumberFails()
    • getFailLimit

      int getFailLimit()
    • setPrintInfo

      void setPrintInfo(boolean p)
    • setTimeOut

      void setTimeOut(long timeOut)