Title | 一种形式化上下无关文法关系驱动的设计模式检测方法 |
Other Titles | An approach for design pattern detection based on the formal context-free grammar relation driver |
Authors | 肖卓宇 何锫 余波 黎妍 杨鑫维 |
Affiliation | 中南林业科技大学涉外学院,长沙,410200 广州大学计算机科学与教育软件学院,广州510006 北京大学高可信软件技术教育部重点实验室,北京100871 长沙理工大学计算机与通信工程学院,长沙410114 湖南省高速公路管理局,长沙,410209 |
Keywords | 模式识别 设计模式 检测 形式化文法 pattern recognition design patterns detection formal grammars |
Issue Date | 2016 |
Publisher | 工程科学学报 |
Citation | 工程科学学报. 2016, 38(10), 1499-1508. |
Abstract | 针对设计模式识别结果的假阴性问题与重叠问题,为提高设计模式实例恢复的精确性,提出一种形式化上下无关文法关系驱动的设计模式检测方法。依据设计模式实例中的参与者属性及其关系,以形式化可视化语言描述模式实例的识别文法。在此基础上,改进该文法检测设计模式实例参与者间的附加关系,并识别共享实例的模式。实验结果表明,新方法不仅减少了模式实例的假阴性结果,还解决了模式实例识别的重叠问题,与其他检测方法的精确度、召回率及F-score指标比较,新方法取得了较好的效果。 Aiming at the false negative problem and the overlap problem in pattern instance detection, in order to improve the ac-curacy of the design pattern recovery, this article introduces an approach for design pattern detection based on the formal context-free grammar relation driver. Focusing on the attribute and relationship of classes in pattern instances, the formal grammar of pattern in-stance identification is established using the visual language, and an improved formalism grammar is presented for identifying the addi-tional relationships and the sharing problem of design pattern instances. Experimental results show that, compared with other well-known algorithms by precision, recall and F-score, the proposed method can reduce the false negative results and the overlap problem in pattern instance detection, indicating the effectiveness of the proposed method. |
URI | http://hdl.handle.net/20.500.11897/483791 |
ISSN | 1001-053X |
DOI | 10.13374/j.issn2095-9389.2016.10.020 |
Indexed | 中文核心期刊要目总览(PKU) |
Appears in Collections: | 高可信软件技术教育部重点实验室 |