Class SearchPlan


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

    • Method Detail

      • getOperations

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

        public java.util.Map<java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object