public class BinaryTransitiveClosureCheck extends CheckOperation
| Constructor and Description |
|---|
BinaryTransitiveClosureCheck(MatcherReference calledQuery,
int sourcePosition,
int targetPosition)
The source position will be matched in the called pattern to the first parameter; while target to the second.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
check(MatchingFrame frame)
Executes the checking operation
|
java.util.List<java.lang.Integer> |
getVariablePositions() |
void |
onInitialize(MatchingFrame frame,
ISearchContext context)
During the execution of the corresponding plan, the onInitialize callback is evaluated before the execution of
the operation may begin.
|
java.lang.String |
toString() |
execute, onBacktrackpublic BinaryTransitiveClosureCheck(MatcherReference calledQuery, int sourcePosition, int targetPosition)
calledQuery - sourcePosition - targetPosition - public void onInitialize(MatchingFrame frame, ISearchContext context) throws LocalSearchException
ISearchOperationonInitialize in interface ISearchOperationonInitialize in class CheckOperationLocalSearchExceptionprotected boolean check(MatchingFrame frame) throws LocalSearchException
CheckOperationcheck in class CheckOperationLocalSearchExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.Integer> getVariablePositions()