English

A Precedence-Driven Approach for Concurrent Model Synchronization Scenarios using Triple Graph Grammars

Software Engineering 2020-11-09 v1

Abstract

Concurrent model synchronization is the task of restoring consistency between two correlated models after they have been changed concurrently and independently. To determine whether such concurrent model changes conflict with each other and to resolve these conflicts taking domain- or user-specific preferences into account is highly challenging. In this paper, we present a framework for concurrent model synchronization algorithms based on Triple Graph Grammars (TGGs). TGGs specify the consistency of correlated models using grammar rules; these rules can be used to derive different consistency restoration operations. Using TGGs, we infer a causal dependency relation for model elements that enables us to detect conflicts non-invasively. Different kinds of conflicts are detected first and resolved by the subsequent conflict resolution process. Users configure the overall synchronization process by orchestrating the application of consistency restoration fragments according to several conflict resolution strategies to achieve individual synchronization goals. As proof of concept, we have implemented this framework in the model transformation tool eMoflon. Our initial evaluation shows that the runtime of our presented approach scales with the size of model changes and conflicts, rather than model size.

Keywords

Cite

@article{arxiv.2011.03357,
  title  = {A Precedence-Driven Approach for Concurrent Model Synchronization Scenarios using Triple Graph Grammars},
  author = {Lars Fritsche and Jens Kosiol and Adrian Möller and Andy Schürr and Gabriele Taentzer},
  journal= {arXiv preprint arXiv:2011.03357},
  year   = {2020}
}

Comments

18 pages, 24 figures; to be published in: Proceedings of the 13th ACM SIGPLAN International Conference on Software Language Engineering (SLE '20)

R2 v1 2026-06-23T19:57:44.523Z