From State- to Delta-Based Bidirectional Model Transformations: the Asymmetric Case

被引:50
作者
Diskin, Zinovy [1 ]
Xiong, Yingfei [1 ]
Czarnecki, Krzysztof [1 ]
机构
[1] Univ Waterloo, Generat Software Dev Lab, Waterloo, ON, Canada
来源
JOURNAL OF OBJECT TECHNOLOGY | 2011年 / 10卷
关键词
Model transformation; Bidirectional transformations; Lenses;
D O I
10.5381/jot.2011.10.1.a6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Existing bidirectional model transformation (BX) languages are mainly state-based: model alignment is hidden inside update propagating procedures, and model deltas are implicit. Weaving alignment with update propagation complicates the latter and makes it less predictable and less manageable. We propose to separate concerns and consider two distinct operations: delta discovery (alignment) and delta propagation. This architecture has several technological advantages, but requires a corresponding theoretical support. The goal of the paper is to develop a delta-based algebraic framework for the case of asymmetric BX, where one model is a view of the other. In this framework, model spaces are categories (nodes are models and arrows are composable deltas), and delta propagation procedures are mappings between them. We call the corresponding algebras delta lenses, prove their several basic properties, and explore their relationships with ordinary lenses - well-known algebraic models for state-based asymmetric BX.
引用
收藏
页数:25
相关论文
共 26 条
  • [1] Differencing and merging of architectural views
    Abi-Antoun, Marwan
    Aldrich, Jonathan
    Nahas, Nagi
    Schmerl, Bradley
    Garlan, David
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2008, 15 (01) : 35 - 74
  • [2] Abiteboul S., 1998, INCREMENTAL MAINTENA
  • [3] Alanen M, 2003, LECT NOTES COMPUT SC, V2863, P2
  • [4] Engineering of Framework-Specific Modeling Languages
    Antkiewicz, Michal
    Czarnecki, Krzysztof
    Stephan, Matthew
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (06) : 795 - 824
  • [5] Barbosa DMJ, 2010, ICFP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, P193
  • [6] Boomerang: Resourceful Lenses for String Data
    Bohannon, Aaron
    Foster, J. Nathan
    Pierce, Benjamin C.
    Pilkiewicz, Alexandre
    Schmitt, Alan
    [J]. POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 407 - 419
  • [7] A Metamodel Independent Approach to Difference Representation
    Cicchetti, Antonio
    Di Ruscio, Davide
    Pierantonio, Alfonso
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (09): : 165 - 185
  • [8] DISKIN Z, 2009, GTTSE 2009, P00092, DOI DOI 10.1007/978-3-642-18023-1_3
  • [9] Diskin Z., 2011, GSDLABTR20110610 U W
  • [10] Diskin Z., 2011, GSDLABTR20110503 U W