Title | 基于文法产生式优化的设计模式识别方法 |
Other Titles | An Optimization Method for Design Pattern Identification Based on the Grammar Production |
Authors | 肖卓宇 何锫 杨鑫维 杨邦平 陈俊旭 胡振涛 |
Affiliation | 中南林业科技大学涉外学院 长沙410200 广州大学计算机科学与教育软件学院 广州510006 长沙理工大学计算机与通信工程学院 长沙410114 北京大学高可信软件技术教育部重点实验室 北京海淀区100871 |
Keywords | 设计模式检测 文法产生式 模式共享 变体 可视化 design pattern detection grammar production pattern sharing variant visualization |
Issue Date | 2017 |
Publisher | 电子科技大学学报 |
Citation | 电子科技大学学报. 2017, 46(3), 569-576. |
Abstract | 以精确的设计模式检测结果为目标,为解决设计模式识别的变体问题,提出一种基于文法产生式优化的设计模式识别方法,旨在使用可视化文法产生式描述设计模式参与者角色的属性与联系,并通过增加文法产生式描述的特征信息来识别重叠的设计模式及参与者角色间的附加关系.实验结果表明,该方法减少了设计模式识别的假阳性结果与假阴性结果,通过与主流方法的F-score评估指标比较,显示出该方法的优势. Aiming at obtaining the accurate detection results of design pattern,an optimization method for design pattern identification based on the grammar production is presented for solving the variant problem of design pattern.The method focuses on role attributes of participants and relationships of design pattern instances by visual grammar production,and identifies the overlapping patterns and the additional relations between the participant roles by adding the feature information of grammar production.Experiment results show that the proposed method can reduce the false positive results and the false negative results.F-score index comparison with other well-known algorithms indicates the effectiveness and merits of the proposed method. |
URI | http://hdl.handle.net/20.500.11897/466532 |
ISSN | 1001-0548 |
DOI | 10.3969/j.issn.1001-0548.2017.03.015 |
Appears in Collections: | 高可信软件技术教育部重点实验室 |