Class SearchPlan
java.lang.Object
tools.refinery.interpreter.localsearch.plan.SearchPlan
A SearchPlan stores a collection of SearchPlanOperations for a fixed order of variables.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchPlan
(PBody body, List<ISearchOperation> operations, TupleMask parameterMask, Map<PVariable, Integer> variableMapping) -
Method Summary
Modifier and TypeMethodDescriptionint
getOperationIndex
(ISearchOperation operation) Returns the index of a given operation in the planReturns an immutable list of operations stored in the plan.Returns an immutable map of variable mappings for the plantoString()
-
Constructor Details
-
Method Details
-
getOperations
Returns an immutable list of operations stored in the plan.- Returns:
- the operations
-
getVariableMapping
Returns an immutable map of variable mappings for the plan- Since:
- 2.0
-
getOperationIndex
Returns the index of a given operation in the plan- Since:
- 2.0
-
getParameterMask
- Since:
- 2.0
-
getSourceBody
- Since:
- 2.0
-
toString
-