Class CheckPositivePatternCall
java.lang.Object
tools.refinery.interpreter.localsearch.operations.check.CheckPositivePatternCall
- All Implemented Interfaces:
IPatternMatcherOperation
,ISearchOperation
public class CheckPositivePatternCall
extends Object
implements ISearchOperation, IPatternMatcherOperation
- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.refinery.interpreter.localsearch.operations.ISearchOperation
ISearchOperation.ISearchOperationExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitializes a new operation executor for the given operation.Returns the precomputed call information associated with the current operationtoString()
Creates a string representation of the search operation by replacing the variable numbers according to the parameter function.
-
Constructor Details
-
CheckPositivePatternCall
- Since:
- 1.7
-
-
Method Details
-
createExecutor
Description copied from interface:ISearchOperation
Initializes a new operation executor for the given operation. Repeated calls must return different executor instances.- Specified by:
createExecutor
in interfaceISearchOperation
-
getVariablePositions
- Specified by:
getVariablePositions
in interfaceISearchOperation
- Returns:
- the ordered list of the variable numbers that are affected by the search operation
-
toString
-
toString
Description copied from interface:ISearchOperation
Creates a string representation of the search operation by replacing the variable numbers according to the parameter function. It is expected that the provided function does return a non-null value for each variable index that is returned byISearchOperation.getVariablePositions()
; otherwise aNullPointerException
will be thrown during the calculation of the string.- Specified by:
toString
in interfaceISearchOperation
-
getCallInformation
Description copied from interface:IPatternMatcherOperation
Returns the precomputed call information associated with the current operation- Specified by:
getCallInformation
in interfaceIPatternMatcherOperation
-