- Conference Article
7
- 10.1109/iccke48569.2019.8965221
An Automated Method for Selecting GoF Design Patterns
- Oct 01, 2019
- Raheleh Rahmati + 2 more +2
Nowadays, an increase in the growth of software systems has risen the importance of the design phase. So far, developers have introduced numerous software design patterns. This study presents a new method to select the Gang of Four (GoF) design patterns. The proposed method is implemented based on the vector space model (VSM). In this method, the Term Frequency-Inverse Document Frequency (TF-IDF) weighting algorithm has been improved to determine the similarity between two texts, more accurately. Also, we used a set of hyponyms and synonyms of the words in weighting. We evaluated the proposed method with 23 design patterns, 29 object-oriented related design problems, and nine real-world problems. Finally, we observed promising results compared to other methods. We found 8.5%, 1.2%, and 5.2% improvement in terms of precision, recall, and accuracy of the proposed method as compared to other methods.
Read more