java.lang.Object
tools.refinery.interpreter.localsearch.plan.SearchPlan

public class SearchPlan extends Object
A SearchPlan stores a collection of SearchPlanOperations for a fixed order of variables.
  • Constructor Details

  • Method Details

    • getOperations

      public List<ISearchOperation> getOperations()
      Returns an immutable list of operations stored in the plan.
      Returns:
      the operations
    • getVariableMapping

      public Map<Integer,PVariable> getVariableMapping()
      Returns an immutable map of variable mappings for the plan
      Since:
      2.0
    • getOperationIndex

      public int getOperationIndex(ISearchOperation operation)
      Returns the index of a given operation in the plan
      Since:
      2.0
    • getParameterMask

      public TupleMask getParameterMask()
      Since:
      2.0
    • getSourceBody

      public PBody getSourceBody()
      Since:
      2.0
    • toString

      public String toString()
      Overrides:
      toString in class Object