Towards Efficient Model Comparison using Automated Program Rewriting

被引:0
作者
Ali, Qurat ul Ain [1 ]
Kolovos, Dimitris [1 ]
Barmpis, Konstantinos [1 ]
机构
[1] Univ York, York, N Yorkshire, England
来源
PROCEEDINGS OF THE 16TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, SLE 2023 | 2023年
关键词
Model-Driven Engineering; Scalability; Model Comparison; Static Analysis; Program Analysis;
D O I
10.1145/3623476.3623519
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model comparison is a prerequisite task for several other model management tasks such as model merging, model differencing etc. We present a novel approach to efficiently compare models using programs written in a rule-based model comparison language. As the comparison is done at the model element level, and each element needs to be traversed and compared with its corresponding elements, the execution of these comparison algorithms can be computationally expensive for larger models. In this paper, we present an efficient comparison approach which provides an automated rewriting facility to compare (both homogeneous and heterogeneous) models, based on static program analysis. Using this analysis, we reduce the search space by pre-filtering/indexing model elements, before actually comparing them. Moreover, we reorder the comparison match rules according to the dependencies between these rules to reduce the cost of jumping between rules. Our experiments demonstrate that the proposed model comparison approach delivers significant performance benefits in terms of execution time compared to the default ECL execution engine.
引用
收藏
页码:181 / 193
页数:13
相关论文
共 25 条
  • [1] Selective Traceability for Rule-Based Model-to-Model Transformations
    Ali, Qurat ul Ain
    Kolovos, Dimitris
    Barmpis, Konstantinos
    [J]. PROCEEDINGS OF THE 15TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, SLE 2022, 2022, : 98 - 109
  • [2] Identification and Optimisation of Type-Level Model Queries
    Ali, Qurat Ul Ain
    Kolovos, Dimitris
    Barmpis, Konstantinos
    [J]. 24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 752 - 761
  • [3] Towards Scalable Validation of Low-Code System Models: Mapping EVL to VIATRA Patterns
    Ali, Qurat Ul Ain
    Horvath, Benedek
    Kolovos, Dimitris
    Barmpis, Konstantinos
    Horvath, Akos
    [J]. 24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 85 - 89
  • [4] Ali QU, 2020, 23RD ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2020 COMPANION, DOI 10.1145/3417990.3420207
  • [5] [Anonymous], 2023, EMF DiffMerge
  • [6] [Anonymous], 2023, Eclipse EMF Compare.
  • [7] [Anonymous], 2023, Epsilon Model Connectivity Layer
  • [8] [Anonymous], 2022, Epsilon Validation Language.
  • [9] Grand challenges inmodel-driven engineering: an analysis of the state of the research
    Bucchiarone, Antonio
    Cabot, Jordi
    Paige, Richard F.
    Pierantonio, Alfonso
    [J]. SOFTWARE AND SYSTEMS MODELING, 2020, 19 (01) : 5 - 13
  • [10] Model-Based Development of Engine Control Systems: Experiences and Lessons Learnt
    Cooper, Justin
    de la Vega, Alfonso
    Paige, Richard
    Kolovos, Dimitris
    Bennett, Michael
    Brown, Caroline
    Pina, Beatriz Sanchez
    Rodriguez, Horacio Hoyos
    [J]. 24TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2021), 2021, : 308 - 319