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 条
  • [1] Horse herd optimization algorithm for economic dispatch problems
    Basu, Subhamay
    Kumar, Sajjan
    Basu, Mousumi
    ENGINEERING OPTIMIZATION, 2023, 55 (05) : 806 - 822
  • [2] Program Source-Code Re-Modularization Using a Discretized and Modified Sand Cat Swarm Optimization Algorithm
    Arasteh, Bahman
    Seyyedabbasi, Amir
    Rasheed, Jawad
    Abu-Mahfouz, Adnan M.
    SYMMETRY-BASEL, 2023, 15 (02):
  • [3] Fuzzy Clustering Algorithm Based on Improved Particle Swarm Optimization and Its Application
    Li Xue-yong
    Sun Jia-xia
    Fu Jun-hui
    Gao Guo-hong
    FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE, PTS 1-4, 2011, 44-47 : 4067 - 4071
  • [4] Generating the structural graph-based model from a program source-code using chaotic forrest optimization algorithm
    Arasteh, Bahman
    Ghanbarzadeh, Reza
    Gharehchopogh, Farhad Soleimanian
    Hosseinalipour, Ali
    EXPERT SYSTEMS, 2023, 40 (06)
  • [5] A bioinspired discrete heuristic algorithm to generate the effective structural model of a program source code
    Arasteh, Bahman
    Sadegi, Razieh
    Arasteh, Keyvan
    Gunes, Peri
    Kiani, Farzad
    Torkamanian-Afshar, Mahsa
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2023, 35 (08)
  • [6] Improved Biogeography-Based Optimization Algorithm and Its Application to Clustering Optimization and Medical Image Segmentation
    Zhang, Xinming
    Wang, Doudou
    Chen, Haiyan
    IEEE ACCESS, 2019, 7 : 28810 - 28825
  • [7] Program source code comprehension by module clustering using combination of discretized gray wolf and genetic algorithms
    Arasteh, Bahman
    Abdi, Mohammad
    Bouyer, Asgarali
    ADVANCES IN ENGINEERING SOFTWARE, 2022, 173
  • [8] A modified particle swarm optimization algorithm and application
    Zheng, Sheng-Fu
    Hu, Shan-Li
    Su, She-Xiong
    Lin, Chao-Feng
    Lai, Xian-Wei
    PROCEEDINGS OF 2007 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2007, : 945 - 951
  • [9] Fuzzy particle swarm optimization clustering and its application to image clustering
    Yi, Wensheng
    Yao, Min
    Jiang, Zhiwei
    ADVANCES IN MULTIMEDIA INFORMATION PROCESSING - PCM 2006, PROCEEDINGS, 2006, 4261 : 459 - 467
  • [10] Modified particle swarm optimization algorithm and its application on optimal operation of hydropower station
    Wang, Ni
    Wang, Shaobo
    Xie, Jiancang
    ICNC 2007: THIRD INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, VOL 4, PROCEEDINGS, 2007, : 549 - +