An Automated Method for Selecting GoF Design Patterns

Raheleh Rahmati, A. Rasoolzadegan, Diyana Tehrany Dehkordy
{"title":"An Automated Method for Selecting GoF Design Patterns","authors":"Raheleh Rahmati, A. Rasoolzadegan, Diyana Tehrany Dehkordy","doi":"10.1109/ICCKE48569.2019.8965221","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":6685,"journal":{"name":"2019 9th International Conference on Computer and Knowledge Engineering (ICCKE)","volume":"44 1","pages":"345-350"},"PeriodicalIF":0.0000,"publicationDate":"2019-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 9th International Conference on Computer and Knowledge Engineering (ICCKE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCKE48569.2019.8965221","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

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.
GoF设计模式的自动选择方法
如今,软件系统的增长增加了设计阶段的重要性。到目前为止,开发人员已经引入了许多软件设计模式。本文提出了一种选择四人组设计模式的新方法。该方法基于向量空间模型(VSM)实现。在该方法中,改进了词频-逆文档频率(TF-IDF)加权算法,以更准确地确定两个文本之间的相似度。此外,我们还使用了一组单词的下义和同义词来加权。我们用23个设计模式、29个面向对象相关的设计问题和9个现实问题来评估该方法。最后,与其他方法相比,我们观察到有希望的结果。我们发现,与其他方法相比,该方法在精密度、召回率和准确度方面分别提高了8.5%、1.2%和5.2%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信