摘要
为解决设计模式演化后难以挖掘的问题,提出引入特征规则的设计模式变体挖掘方法。通过逆向工程中的大类图拆分方法获取设计模式参与者角色及关系,根据设计模式指导的软件分簇方法识别职能相似的有效参与者及关系,制定设计模式变体挖掘规则,通过在基于文法产生优化的设计模式识别方法中引入变体规则特征信息来挖掘设计模式变体,设计单例变体与综合变体挖掘实验。实验结果表明,所提方法能够提高设计模式变体挖掘的精确率,验证了算法的有效性。
To solve the difficulty of mining design pattern evolution,introducing feature mechanism optimization method for variants of design pattern mining was presented.Participants and relationships of design pattern were obtained through decomposition of large class diagrams generated by reverse engineering,the effective participants and relationships with similar functions were detected through software clustering approach of design pattern,the mining rules for design patterns were presented,variants of design patterns were mined using feature information for variant rules based on an optimization method for design pattern identification based on the grammar production,single and comprehensive of variant mining experiments were designed.Experimental results show that the proposed method can improve the accuracy of variants of design pattern mining,which verifies its effectiveness.
作者
肖卓宇
何锫
陈果
徐运标
郭杰
XIAO Zhuo-yu;HE Pei;CHEN Guo;XU Yun-biao;GUO Jie(School of Information Engineering,Hunan Industry Polytechnic,Changsha 410208,China;School of Computer Science and Cyber Engineering,Guangzhou University,Guangzhou 510006,China)
出处
《计算机工程与设计》
北大核心
2021年第4期1020-1027,共8页
Computer Engineering and Design
基金
湖南省教育厅科学研究基金项目(19C0611)
湖南省自然科学基金科教联合基金项目(2020JJ7035)
国家自然科学基金项目(61977018)。
关键词
设计模式
演化
分簇
特征挖掘
变体
design pattern
evolution
clustering
feature mining
variant