• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (06): 1014-1023.

Previous Articles     Next Articles

Variant mining of design pattern with clue constraint

XIAO Zhuo-yu1,He Pei2,XU Yun-biao1,CHEN Guo1,GUO Jie1,HUANG Jun3   

  1. (1.School of Information Engineering,Hunan Industry Polytechnic,Changsha 410208;

    2.School of Computer Science and Cyber Engineering,Guangzhou University,Guangzhou 510006;

    3.School of Mechanical Engineering,Hunan Industry Polytechnic,Changsha 410208,China)

  • Received:2020-10-06 Revised:2020-12-23 Accepted:2021-06-25 Online:2021-06-25 Published:2021-06-22
  • Supported by:


Abstract: Aiming at the low accuracy issue of variant mining of design pattern, a variant mining method of design pattern is proposed by introducing clue constraints. , which aims to describe variant clues of design pattern based on the constraint satisfaction problem (CSP). The DPVMC (Design Pattern Variant Mining with Clue) algorithm is given, which introduces clues in two stages: structural feature constraints and timing feature constraints. Taking Proxy, Bridge, Command, and Factory Method pattern variants as examples, a two-stage single design pattern variant mining experiment and an integrated design pattern variant mining experiment are designed. Design pattern mining experiments are carried out through 4 mainstream design pattern mining tools and 4 benchmark systems. The experimental results show that this research method achieves good results.


Key words: design pattern, design pattern variant, clue, constraint satisfaction problem, constraint