Computer Engineering and Applications ›› 2010, Vol. 46 ›› Issue (8): 56-60.DOI: 10.3778/j.issn.1002-8331.2010.08.016
• 研发、设计、测试 • Previous Articles Next Articles
LIU Zheng-zheng,JIANG Fan,YANG Jun
Received:
Revised:
Online:
Published:
Contact:
刘峥峥,蒋 凡,杨 俊
通讯作者:
Abstract: Model transformation is a key challenge in large-scale model driven engineering.It costs too much to write model transformation rules manually,at the same time,correctness can’t be ensured.A model comparison algorithm is designed to generate transformation rules automatically based on edit distance.This algorithm can deal with UML class diagrams,state diagrams and activity diagrams.It can also check the move and copy operations between models to generate minimum transformation sequences,which can raise model transformation efficiency.By experimental verification,it is feasible and fairly efficient to generate model transformation rules automatically based on this algorithm.
摘要: 在大规模的模型驱动工程中,模型转换是关键的环节,手动撰写模型转换规则既耗费资源,且正确性亦难以得到保障。针对该问题,提出基于编辑距离的模型比对算法,用于自动生成转换规则,该算法可以处理UML类图、状态图和活动图,而且可以有效地检测模型转移和复制操作,从而生成最小转换序列,提高模型转换工作效率。经过实验验证,基于该算法的模型转换规则自动生成方法是行之有效的。
CLC Number:
TP301
LIU Zheng-zheng,JIANG Fan,YANG Jun. Research on generating model transformation rules automatically[J]. Computer Engineering and Applications, 2010, 46(8): 56-60.
刘峥峥,蒋 凡,杨 俊. 模型转换规则自动生成研究[J]. 计算机工程与应用, 2010, 46(8): 56-60.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/10.3778/j.issn.1002-8331.2010.08.016
http://cea.ceaj.org/EN/Y2010/V46/I8/56