Attributed graph transformation with inheritance: Efficient conflict detection and local confluence analysis using abstract critical pairs

被引:12
作者
Golas, Ulrike [1 ]
Lambers, Leen [2 ]
Ehrig, Hartmut [3 ]
Orejas, Fernando [4 ]
机构
[1] Konrad Zuse Zentrum Informat Tech Berlin, D-14195 Berlin, Germany
[2] Univ Potsdam, Hasso Plattner Inst, Potsdam, Germany
[3] Tech Univ Berlin, Berlin, Germany
[4] Univ Politecn Cataluna, Barcelona, Spain
关键词
Typed attributed graph transformation; Critical pair analysis; Inheritance; M-adhesive category with NACs; FORMAL ANALYSIS; SYSTEMS; VERIFICATION; TERMINATION; SEMANTICS;
D O I
10.1016/j.tcs.2012.01.032
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Inheritance is an important and widely spread concept enabling the elegant expression of hierarchy in object-oriented software programs or models. It has been defined for graphs and graph transformations enhancing the applicability of this formal technique. Up to now, for the analysis of transformations with inheritance a flattening construction has been used, which yields all the well-known results for graph transformation but results in a large number of graphs and rules that have to be analyzed. In this paper, we introduce a new category of typed attributed graphs with inheritance. For the detection of conflicts between graph transformations on these graphs, the notion of abstract critical pairs is defined. This allows us to perform the analysis on polymorphic rules and transformations without the need for flattening, which significantly increases the efficiency of the analysis and eases the interpretation of the analysis results. The new main result is the Local Confluence Theorem for typed attributed graph transformation with inheritance using abstract critical pairs. All constructions and results are demonstrated on an example for the analysis of refactorings. (C) 2012 Elsevier B.V. All rights reserved.
引用
收藏
页码:46 / 68
页数:23
相关论文
共 46 条
[1]  
Alencar A., 1991, P ECOOP 91 BERLIN, P180
[2]  
[Anonymous], THESIS TU BERLIN
[3]  
[Anonymous], UN MOD LANG UML VERS
[4]  
[Anonymous], 1993, TERM GRAPH REWRITING
[5]  
Arendt T, 2010, LECT NOTES COMPUT SC, V6394, P121
[6]   Self-Repairing Systems Modeling and Verification using AGG [J].
Bucchiarone, Antonio ;
Pelliccione, Patrizio ;
Vattani, Charlie ;
Runge, Olga .
2009 JOINT WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE AND EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE, 2009, :181-+
[7]   A UML/OCL framework for the analysis of graph transformation rules [J].
Cabot, Jordi ;
Clariso, Robert ;
Guerra, Esther ;
de Lara, Juan .
SOFTWARE AND SYSTEMS MODELING, 2010, 9 (03) :335-357
[8]   Defining visual notations and their manipulation through meta-modelling and graph transformation [J].
de Lara, J ;
Vangheluwe, H .
JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2004, 15 (3-4) :309-330
[9]   Attributed graph transformation with node type inheritance [J].
de Lara, Juan ;
Bardohl, Roswitha ;
Ehrig, Hartmut ;
Ehrig, Karsten ;
Prange, Ulrike ;
Taentzer, Gabriele .
THEORETICAL COMPUTER SCIENCE, 2007, 376 (03) :139-163
[10]  
Ehrig H, 2005, LECT NOTES COMPUT SC, V3442, P49, DOI 10.1007/978-3-540-31984-9_5