[1]关 慧,历子谦,吕 颖.一种基于意图的设计模式排序与优化方法[J].计算机技术与发展,2021,31(08):19-25.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 004]
 GUAN Hui,LI Zi-qian,LYU Ying.A Design Pattern Ranking and Optimization Method Based on Intent[J].,2021,31(08):19-25.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 004]
点击复制

一种基于意图的设计模式排序与优化方法()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
31
期数:
2021年08期
页码:
19-25
栏目:
大数据分析与挖掘
出版日期:
2021-08-10

文章信息/Info

Title:
A Design Pattern Ranking and Optimization Method Based on Intent
文章编号:
1673-629X(2021)08-0019-07
作者:
关 慧12历子谦1吕 颖1
1. 沈阳化工大学 计算机科学与技术学院,辽宁 沈阳 110028;
2. 辽宁省化工过程工业智能化技术重点实验室,辽宁 沈阳 110142
Author(s):
GUAN Hui12LI Zi-qian1LYU Ying1
1. School of Computer Science and Technology,Shenyang University of Chemical Technology,Shenyang 110028,China;
2. Liaoning Province Key Laboratory of Intelligent Technology of Chemical Process Industry,Shenyang 110142,China
关键词:
WordNetStanford Parser遗传算法设计模式排序
Keywords:
WordNetStanford Parsergenetic algorithmdesign patternranking
分类号:
TP311
DOI:
10. 3969 / j. issn. 1673-629X. 2021. 08. 004
摘要:
设计模式是对于特定软件设计问题的经过验证的解决方案,通常用来获取为解决软件设计问题所需的软件知识,但选出合适的设计模式却并非一件容易的事。 设计模式意图 是理解设计模式的最短路径,因此通过解析设计模式意图对设计模式排序,更利于用户获得所需设计模式。 文中提出了一种基于意图的设计模式排序方法,以方便设计模式的选择,定义了相关相似度的计算方法并在文中给出相应的证明,而后通过遗传算法对所定义的参数进行了调整和优化,最后用软件实际开发中实际问题数据集和设计模式集合,在提出的方法上进行了验证和分析。 实验结果表明,该方法相比其他方法在匹配率上有一定提高,且排序后使得更多正确的结果出现在靠前的位置。
Abstract:
Design patterns are proven solutions to specific software design problems and often used to acquire the software knowledge needed to solve software design problems, but choosing the appropriate design patterns is not an easy task. Design pattern intent is the shortest path to understand design patterns,so sorting design patterns by analyzing design pattern intent is more beneficial for users to obtain the required design patterns. We propose an intent-based ranking method to facilitate the choice of design patterns,define the relevant similarity calculation method and give the corresponding proof. Then,the parameters defined are adjusted and optimized by genetic algorithm. Finally,the proposed method is verified and analyzed by using the data set of practical problems and design patterns in the actual software development. The experiment shows that compared with other methods,the matching rate of the proposed method is improved to a certain extent,and more correct results appear in the first place after sorting.

相似文献/References:

[1]于琦 周勇.一种基于本体的异构数据源模式集成[J].计算机技术与发展,2008,(02):34.
 YU Qi,ZHOU Yong.An Ontology- Based Schema Integration of Heterogeneous Data Sources[J].,2008,(08):34.
[2]王伟 杨庚 张迎周 孔华云.基于程序切片和服务构件的语义Web服务组合[J].计算机技术与发展,2011,(11):141.
 WANG Wei,YANG Geng,ZHANG Ying-zhou,et al.Semantic Web Service Composition Based on Program[J].,2011,(08):141.
[3]孔华云 杨庚 陈蕾 王伟.QoS本体驱动的Web服务发现[J].计算机技术与发展,2011,(12):201.
 KONG Hua-yun,YANG Geng,CHEN Lei,et al.Web Service Discovery Based on QoS Ontology[J].,2011,(08):201.
[4]赵小谦 郑彦 储海庆.概念树在短文本语义相似度上的应用[J].计算机技术与发展,2012,(06):159.
 ZHAO Xiao-qian,ZHENG Yan,CHU Hai-qing.Application of Concept Tree in Semantic Similarity of Short Texts[J].,2012,(08):159.
[5]潘政.基于快速分词的语义Web服务搜索系统设计[J].计算机技术与发展,2013,(08):107.
 PAN Zheng.Design of Semantic Web Service Search System Based on Fast Word Segmentation[J].,2013,(08):107.

更新日期/Last Update: 2021-08-10