DocumentCode :
237027
Title :
A graph-based algorithm for three-way merging of ordered collections in EMF models
Author :
Schwagerl, Felix ; Uhrig, Sabrina ; Westfechtel, Bernhard
Author_Institution :
Applied Computer Science 1, University of Bayreuth, Universitätsstr. 30, 95440, Germany
fYear :
2014
fDate :
7-9 Jan. 2014
Firstpage :
41
Lastpage :
54
Abstract :
Version control for models is not yet supported in an adequate way. In this paper, we address three-way merging of model versions. Based on a common base version b, two alternative versions a1 and a2 were developed by copying and modifying the base version. To reconcile these changes, a merged version m is to be created as a common successor of a1 and a2. We present a graph algorithm to solve an important subproblem which occurs in three-way model merging: merging of (linearly) ordered collections. To create the merged version, a generalized topological sort is performed. Conflicts occur if the order of elements cannot be deduced automatically; these conflicts are resolved either interactively or by default rules. We have implemented the merge algorithm in our tool BTMerge, which performs a consistency-preserving merge of versions of EMF models being instances of arbitrary Ecore models. By taking arbitrary move operations into account, the algorithm considerably goes beyond the functionality of contemporary merge tools which are based on common subsequences and thus cannot adequately handle move operations.
Keywords :
Abstracts; Algorithm design and analysis; Biological system modeling; Computational modeling; Data structures; Merging; Software engineering; EMF Models; Graph Algorithms; Model Merging;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Model-Driven Engineering and Software Development (MODELSWARD), 2014 2nd International Conference on
Conference_Location :
Lisbon, Portugal
Print_ISBN :
978-9-8975-8065-9
Type :
conf
Filename :
7018447
Link To Document :
بازگشت