From Pattern Invocation Networks to Rule Preconditions

Incremental (graph) pattern matchers provide a suitable, high-level platform for implementing Graph Transformation (GT) engines. All incremental pattern matchers we are aware of use a similar notion of Pattern Invocation Networks (PINs) as a specification language. Leveraging an incremental pattern matcher for GT thus requires a semantics-preserving transformation from GT rules to PINs. Although graph queries have been formally related to generalised discrimination networks (a generalisation of PINs) in the literature, practical GT engines typically support only a much more restrictive form of “flat”, i.e., non-nested graph queries. We are not aware of any formalisation that relates PINs to non-nested graph queries in a way that supports verifying semantics preservation for GT-to-PIN transformations and PIN-to-PIN optimisations in a fully automated manner. In this paper, we therefore propose a formal semantics for a specific class of “flat-equivalent” PINs by providing a flattening transformation to non-nested graph queries.

[1]  Andy Schürr,et al.  A Comparison of Incremental Triple Graph Grammar Tools , 2014, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

[2]  Nenad Medvidovic,et al.  CoDesign: a highly extensible collaborative software modeling framework , 2010, 2010 ACM/IEEE 32nd International Conference on Software Engineering.

[3]  Ákos Horváth,et al.  Road to a reactive and incremental model transformation platform: three generations of the VIATRA framework , 2016, Software & Systems Modeling.

[4]  Gergely Varró,et al.  A Rete Network Construction Algorithm for Incremental Pattern Matching , 2013, ICMT.

[5]  Annegret Habel,et al.  Correctness of high-level transformation systems relative to nested conditions† , 2009, Mathematical Structures in Computer Science.

[6]  Gábor Bergmann,et al.  Incremental model queries in model-driven design , 2013 .

[7]  István Ráth,et al.  Incremental pattern matching in the viatra model transformation system , 2008, GRaMoT '08.

[8]  Holger Giese,et al.  On the Operationalization of Graph Queries with Generalized Discrimination Networks , 2016, ICGT.

[9]  Timothy Lethbridge,et al.  Reverse engineering of object-oriented code into Umple using an incremental and rule-based approach , 2014, CASCON.

[10]  Eric N. Hanson,et al.  Trigger Condition Testing and View Maintenance Using Optimized Discrimination Networks , 2002, IEEE Trans. Knowl. Data Eng..

[11]  Andy Schürr,et al.  Leveraging Incremental Pattern Matching Techniques for Model Synchronisation , 2017, ICGT.

[12]  Ákos Horváth,et al.  Recursive Graph Pattern Matching , 2008, AGTIVE.

[13]  Ákos Horváth,et al.  A Benchmark Evaluation of Incremental Pattern Matching in Graph Transformation , 2008, ICGT.

[14]  Patrick Mäder,et al.  Recommending Auto-completions for Software Modeling Activities , 2013, MoDELS.

[15]  Hartmut Ehrig,et al.  Fundamentals of Algebraic Graph Transformation , 2006, Monographs in Theoretical Computer Science. An EATCS Series.

[16]  Hartmut Ehrig,et al.  Multi-Amalgamation in Adhesive Categories , 2010, ICGT.

[17]  Thomas Buchmann,et al.  The Families to Persons Case , 2017, TTC@STAF.

[18]  Michel Hébert $\lambda$-presentable Morphisms, Injectivity and (Weak) Factorization Systems , 2006, Appl. Categorical Struct..

[19]  Ákos Horváth,et al.  Experimental assessment of combining pattern matching strategies with VIATRA2 , 2010, International Journal on Software Tools for Technology Transfer.

[20]  Brice Morin,et al.  A Semi-automatic approach Transformation approach for Semantic Interoperability , 2011 .