首页 | 本学科首页   官方微博 | 高级检索  
     

一种模型重构冲突消解算法
引用本文:陈军冰,王志坚,陈波,钱思. 一种模型重构冲突消解算法[J]. 计算机科学, 2010, 37(7): 141-143
作者姓名:陈军冰  王志坚  陈波  钱思
作者单位:1. 河海大学计算机及信息工程学院,南京,210098;河海大学科学研究院,南京,210098
2. 河海大学计算机及信息工程学院,南京,210098
基金项目:河海大学自然科学基金项目(理科类),国家科技支撑计划项目 
摘    要:冲突是研究模型重构中的一个重要问题,多数研究将该问题的重点放在冲突检测上,通过对已知冲突的分析,找出冲突消解的手工实现方式.为实现模型重构的自动过程而寻找自动消解冲突的方法是主要研究内容.根据冲突发生的条件将冲突分为3种类型:同一规则的并行使用产生的冲突、对称冲突、非对称冲突.该方法建立在手工分析这3类重构冲突消解的基础上,将重构规则预设为一个规则矩阵,对图转换系统中出现的重构规则进行扫描.扫描结果对照规则矩阵,判断冲突是同一规则还是不同规则的并行使用所产生;分别对这两种情况下的冲突所操作的对象进行分析,根据已有手工消解方法有针对性地进行消解操作.这一算法可以初步实现并行执行的3类冲突的自动消解.

关 键 词:模型重构  关键对  冲突  冲突消解  算法
收稿时间:2009-08-31
修稿时间:2009-11-19

Model Refactoring Conflict Resolution Algorithm
CHEN Jun-bing,WANG Zhi-jian,CHEN Bo,QIAN Si. Model Refactoring Conflict Resolution Algorithm[J]. Computer Science, 2010, 37(7): 141-143
Authors:CHEN Jun-bing  WANG Zhi-jian  CHEN Bo  QIAN Si
Abstract:Conflict resolution is a key problem in research of model refactoring,while the majority of researchers focus on conflicts detection. Conflict resolution is usually performed manually after being analyzed known conflicts. Three categories of conflicts could be resolved which include conflict of parallel applications of the same rule, symmetric conflict and asymmetric conflict. This paper concentrated on automating conflicts resolution so as to realize the automatic model refactoring. hhis method provides an integrated algorithm based on manual analysis of three categories of conflicts. The basic automatic resolution algorithm within refactoring according to the cause of the conflicts (the application of either the same rule or the different ones) , divides the conflicts and then resolves them correspondingly. This algorithm could preliminarily realize the automatic resolution of conflicts mentioned which arc caused by the parallel application of refactoring rules.
Keywords:Model refactoring   Critical pairs   Conflict   Conflict resolution   Algorithm
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号