A Modified Horse Herd Optimization Algorithm and Its Application in the Program Source Code Clustering

被引:5
|
作者
Arasteh, Bahman [1 ]
Gunes, Peri [2 ]
Bouyer, Asgarali [1 ,3 ]
Gharehchopogh, Farhad Soleimanian [4 ]
Banaei, Hamed Alipour [5 ]
Ghanbarzadeh, Reza [6 ]
机构
[1] Istinye Univ, Fac Engn & Nat Sci, Dept Software Engn, Istanbul, Turkiye
[2] Istanbul Aydin Univ, Dept Comp Engn, Istanbul, Turkiye
[3] Azarbaijan Shahid Madani Univ, Dept Software Engn, Tabriz, Iran
[4] Islamic Azad Univ, Dept Comp Engn, Urmia Branch, Orumiyeh, Iran
[5] Islamic Azad Univ, Dept Elect, Tabriz Branch, Tabriz, Iran
[6] Southern Cross Univ, Fac Sci & Engn, Gold Coast, Australia
关键词
PARTICLE SWARM OPTIMIZATION; SOFTWARE;
D O I
10.1155/2023/3988288
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Maintenance is one of the costliest phases in the software development process. If architectural design models are accessible, software maintenance can be made more straightforward. When the software's source code is the only available resource, comprehending the program profoundly impacts the costs associated with software maintenance. The primary objective of comprehending the source code is extracting information used during the software maintenance phase. Generating a structural model based on the program source code is an effective way of reducing overall software maintenance costs. Software module clustering is considered a tremendous reverse engineering technique for constructing structural design models from the program source code. The main objectives of clustering modules are to reduce the quantity of connections between clusters, increase connections within clusters, and improve the quality of clustering. Finding the perfect clustering model is considered an NP-complete problem, and many previous approaches had significant issues in addressing this problem, such as low success rates, instability, and poor modularization quality. This paper applied the horse herd optimization algorithm, a distinctive population-based and discrete metaheuristic technique, in clustering software modules. The proposed method's effectiveness in addressing the module clustering problem was examined by ten real-world standard software test benchmarks. Based on the experimental data, the quality of the clustered models produced is approximately 3.219, with a standard deviation of 0.0718 across the ten benchmarks. The proposed method surpasses former methods in convergence, modularization quality, and result stability. Furthermore, the experimental results demonstrate the versatility of this approach in effectively addressing various real-world discrete optimization challenges.
引用
收藏
页数:16
相关论文
共 50 条
  • [41] Neutrosophic Adaptive Clustering Optimization in Genetic Algorithm and Its Application in Cubic Assignment Problem
    Zhang, Fangwei
    Xu, Shihe
    Han, Bing
    Zhang, Liming
    Ye, Jun
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2023, 134 (03): : 2211 - 2226
  • [42] Horse Herd Optimization Algorithm for Fuel Constrained Day-ahead Scheduling of Isolated Nanogrid
    Basu, Subhamay
    Basu, Mousumi
    APPLIED ARTIFICIAL INTELLIGENCE, 2021, 35 (15) : 1250 - 1270
  • [43] Fuel constrained combined heat and power dynamic dispatch using horse herd optimization algorithm
    Basu, M.
    ENERGY, 2022, 246
  • [44] A New Integral Function Algorithm for Global Optimization and Its Application to the Data Clustering Problem
    Pandiya R.
    Ahdika A.
    Khomsah S.
    Ramadhani R.D.
    Mendel, 2023, 29 (02) : 162 - 168
  • [45] Modified Whale Optimization Algorithm Based on Tent Chaotic Mapping and Its Application in Structural Optimization
    Li, Yancang
    Han, Muxuan
    Guo, Qnglin
    KSCE JOURNAL OF CIVIL ENGINEERING, 2020, 24 (12) : 3703 - 3713
  • [46] Improved Fuzzy Clustering Algorithm and Its Application in Document Clustering
    Liu Yiming
    Yao Min
    Zheng Xiaoliang
    PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT, VOLS A-C, 2008, : 2366 - 2370
  • [47] Modified Whale Optimization Algorithm Based on Tent Chaotic Mapping and Its Application in Structural Optimization
    Yancang Li
    Muxuan Han
    Qinglin Guo
    KSCE Journal of Civil Engineering, 2020, 24 : 3703 - 3713
  • [48] A modified Genetic Algorithm based on the best schema and its application for function optimization
    Zi, G
    Peng, CW
    Zou, MZ
    PROCEEDINGS OF THE 3RD WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-5, 2000, : 615 - 618
  • [49] A Modified Fruit Fly Optimization Algorithm and Its Application to Control of Robot Manipulators
    Mehdifar, Farhad
    Gholami, Hesam Seyed
    Kharrati, Hamed
    Menhaj, Mohammad Bagher
    2017 5TH INTERNATIONAL CONFERENCE ON CONTROL, INSTRUMENTATION, AND AUTOMATION (ICCIA), 2017, : 120 - 125
  • [50] A modified particle swarm optimization rat search algorithm and its engineering application
    Singla, Manish Kumar
    Gupta, Jyoti
    Alsharif, Mohammed H.
    Kim, Mun-Kyeom
    PLOS ONE, 2024, 19 (03):