引入微结构的设计模式自动检测

Automatic detection of design patterns with microstructure

  • 摘要: 为解决设计模式检测精确率欠佳的问题,提出一种引入微结构的设计模式自动检测方法. 首先,以约束满足问题的特征描述为基础,分类归纳了设计模式微结构; 其次,给出了设计模式特征和微结构定义,描述了设计模式候选实例分阶段预处理方法; 最后,构建了特征向量,并采用机器学习方法对设计模式进行了分类.设计了两阶段的标准设计模式和设计模式变体检测实验,实验结果证明研究成果取得了较好的成效.

     

    Abstract: To enhance the accuracy of design pattern detection, an automated detection method that incorporates microstructures is proposed. Firstly, grounded in the characteristic description of constraint satisfaction problems, this method categorizes and summarizes the microstructures of design patterns. Secondly, definitions of design pattern features and microstructures are established. A phased preprocessing methodology for candidate design pattern instances is introduced. Finally, feature vectors are constructed, and subsequently, machine learning techniques are applied to classify the design patterns. Furthermore, two-phase experiments are designed to detect both standard design patterns and their variants. The experimental results validate the effectiveness of the research, demonstrating significant improvements in design pattern detection accuracy.

     

/

返回文章
返回