Class BinaryTransitiveClosureCheck

java.lang.Object
tools.refinery.interpreter.localsearch.operations.check.BinaryTransitiveClosureCheck
All Implemented Interfaces:
IPatternMatcherOperation, ISearchOperation

public class BinaryTransitiveClosureCheck extends Object implements ISearchOperation, IPatternMatcherOperation
Checking for a transitive closure expressed as a local search pattern matcher. The matched pattern must have two parameters of the same model type.
  • Constructor Details

    • BinaryTransitiveClosureCheck

      public BinaryTransitiveClosureCheck(CallInformation information, int sourcePosition, int targetPosition, boolean reflexive)
      The source position will be matched in the called pattern to the first parameter; while target to the second.

      NOTE: the reflexive check call does not include the parameter type checks; appropriate type checks should be added as necessary by the operation compiler.
      Since:
      2.0
  • Method Details