| Literature DB >> 35814539 |
Fang Zhu1, Wenhao Wang1, Shan Li1.
Abstract
For the shortcomings of the manta ray foraging optimization (MRFO) algorithm, like slow convergence speed and difficult to escape from the local optimum, an improved manta ray foraging algorithm based on Latin hypercube sampling and group learning is proposed. Firstly, the Latin hypercube sampling (LHS) method is introduced to initialize the population. It divides the search space evenly so that the initial population covers the whole search space to maintain the diversity of the initial population. Secondly, in the exploration stage of cyclone foraging, the Levy flight strategy is introduced to avoid premature convergence. Before the somersault foraging stage, the adaptive t-distribution mutation operator is introduced to update the population to increase the diversity of the population and avoid falling into the local optimum. Finally, for the updated population, it is divided into leader group and follower group according to fitness. The follower group learns from the leader group, and the leader group learns from each other through differential evolution to further improve the population quality and search accuracy. 15 standard test functions are selected for comparative tests in low and high dimensions. The test results show that the improved algorithm can effectively improve the convergence speed and optimization accuracy of the original algorithm. Moreover, the improved algorithm is applied to wireless sensor network (WSN) coverage optimization. The experimental results show that the improved algorithm increases the network coverage by about 3% compared with the original algorithm, and makes the optimized node distribution more reasonable.Entities:
Mesh:
Year: 2022 PMID: 35814539 PMCID: PMC9262499 DOI: 10.1155/2022/3082933
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Samples distribution map based on the LHS method.
Figure 2Samples distribution map based on the random method.
Test function information.
| No. | Function name | Function formula | D | Range | Optimum |
|---|---|---|---|---|---|
| F1 | Bent cigar | F1( | 50/500 | [−100, 100] | 0 |
| F2 | Sum of different power | F2( | 50/500 | [−100, 100] | 0 |
| F3 | Zakharov | F3( | 50/500 | [−100, 100] | 0 |
| F4 | High conditioned | F4( | 50/500 | [−100, 100] | 0 |
| F5 | Griewank's | F5( | 50/500 | [−100, 100] | 0 |
| F6 | Rastrigin | F6( | 50/500 | [−100, 100] | 0 |
| F7 | Expanded Schaffer's | F7( | |||
|
| 50/500 | [−100, 100] | 0 | ||
| F8 | Noncontinuous rotated Rastrigin's | F8( | 50/500 | [−100, 100] | 0 |
| F9 | Rosenbrock's | F9( | 50/500 | [−100, 100] | 0 |
| F10 |
| F10( | 50/500 | [−100, 100] | 0 |
| F11 | Ackley | F11( | 50/500 | [−100, 100] | 0 |
| F12 | Schaffer's F7 | F12( | 50/500 | [−100, 100] | 0 |
| F13 | Foxholes | F13( | 2 | [−65, 65] | 1 |
| F14 | Schkel | F14( | 4 | [0, 10] | −10.5363 |
| F15 | Six-hump camel | F15( | 2 | [−5, 5] | −1.0316 |
Figure 3Average convergence curves of 500 dimensional partial functions and fixed-dimensional functions F14 and F15. (a) F1 (b) F2. (c) F5 (d) F6. (e) F14 (f) F15.
Comparison of test results for fixed-dimensional function F13–F15.
| Function | Algorithm | Best | Worst | Average | Std. Deviation |
|---|---|---|---|---|---|
| F13 | BOA | 0.9980 | 3.0050 | 1.2986 | 0.6261 |
| WOA | 0.9980 | 10.7632 | 3.0888 | 3.5685 | |
| SCA | 0.9980 | 2.9821 | 1.7922 | 0.9882 | |
| SSA | 0.9980 | 12.6705 | 7.3556 | 5.7991 | |
| MRFO | 0.9980 | 0.9980 | 0.9980 | 1.01 | |
| LGMRFO | 0.9980 | 0.9980 | 0.9980 | 9.22 | |
|
| |||||
| F14 | BOA | −5.4578 | −4.0632 | −4.5494 | 0.2656 |
| WOA | −10.1531 | −2.6283 | −7.6042 | 2.8176 | |
| SCA | −7.8812 | −0.4973 | −3.2410 | 2.0496 | |
| SSA | −10.1532 | −5.0552 | −9.2006 | 1.9674 | |
| MRFO | −10.1532 | −5.0552 | −8.7937 | 2.2930 | |
| LGMRFO | −10.1532 | −10.1532 | −10.1532 | 6.33 | |
|
| |||||
| F15 | BOA | −1.0316 | −1.0287 | −1.0307 | 8.58 |
| WOA | −1.0316 | −1.0316 | −1.0316 | 2.01 | |
| SCA | −1.0316 | −1.0316 | −1.0316 | 3.96 | |
| SSA | −1.0316 | −1.0316 | −1.0316 | 6.39 | |
| MRFO | −1.0316 | −1.0316 | −1.0316 | 6.52 | |
| LGMRFO | −1.0316 | −1.0316 | −1.0316 | 5.61 | |
Comparison of test results under different dimensions for function F1–F12.
| Function | Algorithm |
|
| ||||||
|---|---|---|---|---|---|---|---|---|---|
| Best | Worst | Average | Std | Best | Worst | Average | Std | ||
|
| |||||||||
| F1 | BOA | 1.38 | 1.68 | 1.55 | 8.44 | 1.45 | 1.76 | 1.60 | 9.61 |
| WOA | 1.08 | 1.32 | 7.38 | 2.86 | 9.70 | 2.86 | 1.11 | 5.23 | |
| SCA | 1.01 E+07 | 3.24 E+09 | 8.14 E+08 | 8.47 | 6.92 | 3.38 | 2.03 | 7.12 | |
| SSA | 0 | 1.20 | 4.01 | 2.19 | 1.74 | 2.91 | 9.69 | 5.31 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F2 | BOA | 6.27 | 9.03 | 8.05 | 2.18 | Inf | Inf | Inf | NaN |
| WOA | 4.34 | 2.54 | 9.08 | 4.65 | Inf | Inf | Inf | NaN | |
| SCA | 2.41 | 4.86 | 1.65 | 8.87 | Inf | Inf | Inf | NaN | |
| SSA | 0 | 2.99 | 9.96 | 5.46 | 0 | 7.82 | 2.61 | 1.43 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F3 | BOA | 1.11 | 1.46 | 1.28 | 8.41 | 1.10 | 1.49 | 1.34 | 8.32 |
| WOA | 6.01 | 1.47 | 9.47 | 1.83 | 1.54 | 1.86 | 1.64 | 6.22 | |
| SCA | 2.643 | 2.81 | 1.28 | 6.33 | 2.98 | 8.34 | 5.59 | 1.31 | |
| SSA | 5.52 | 1.24 | 6.94 | 2.68 | 0 | 1.48 | 4.95 | 2.71 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F4 | BOA | 1.20 | 1.68 | 1.50 | 9.51 | 1.43 | 1.75 | 1.59 | 8.93 |
| WOA | 4.59 | 2.42 | 8.32 | 4.41 | 2.65 | 6.99 | 2.47 | 1.28 | |
| SCA | 5.43 | 3.79 | 2.99 | 6.84 | 8.61 | 8.53 | 4.01 | 1.68 | |
| SSA | 0 | 1.01 | 3.36 | 1.84 | 1.26 | 1.51 | 5.04 | 2.76 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F5 | BOA | 2.30 | 1.40 | 7.28 | 2.44 | 1.28 | 1.63 | 1.43 | 7.15 |
| WOA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| SCA | 3.95 | 1.65 | 1.12 | 2.96 | 1.57 | 7.96 | 5.01 | 1.73 | |
| SSA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F6 | BOA | 0 | 1.34 | 4.49 | 2.45 | 0 | 0 | 0 | 0 |
| WOA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| SCA | 2.42 | 4.29 | 1.37 | 1.02 | 6.84 | 3.47 | 2.02 | 8.54 | |
| SSA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F7 | BOA | 2.55 | 1.75 | 1.89 | 4.82 | 0 | 0 | 0 | 0 |
| WOA | 0 | 7.77 | 3.95 | 1.58 | 0 | 0 | 0 | 0 | |
| SCA | 6.39 | 1.77 | 1.41 | 2.59 | 5.87 | 2.34 | 1.80 | 5.13 | |
| SSA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F8 | BOA | 0 | 3.59 | 5.62 | 1.28 | 0 | 0 | 0 | 0 |
| WOA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| SCA | 2.09 | 2.27 | 9.64 | 5.04 | 9.11 | 3.56 | 2.07 | 6.99 | |
| SSA | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F9 | BOA | 4.88 | 4.90 | 4.89 | 3.31 | 4.99 | 4.99 | 4.99 | 2.75 |
| WOA | 4.76 | 4.87 | 4.82 | 3.93 | 4.96 | 4.98 | 4.97 | 3.84 | |
| SCA | 2.37 | 2.57 | 5.79 | 5.52 | 1.12 | 3.54 | 2.42 | 5.69 | |
| SSA | 4.13 | 8.29 | 1.60 | 2.17 | 1.62 | 7.75 | 1.35 | 1.92 | |
| MRFO | 4.27 | 4.48 | 4.37 | 5.71 | 4.94 | 4.97 | 4.96 | 6.72 | |
| LGMRFO | 4.29 | 4.44 | 4.35 | 2.82 | 4.91 | 4.92 | 4.91 | 1.97 | |
|
| |||||||||
| F10 | BOA | 9.12 | 1.41 | 1.17 | 1.21 | 1.04 | 1.47 | 1.28 | 1.21 |
| WOA | 3.03 | 1.82 | 6.35 | 3.33 | 5.05 | 5.29 | 2.95 | 1.04 | |
| SCA | 8.10 | 2.94 | 8.03 | 8.46 | 3.40 | 1.82 | 1.08 | 3.80 | |
| SSA | 0 | 1.71 | 5.70 | 3.11 | 4.61 | 1.18 | 3.94 | 2.16 | |
| MRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| LGMRFO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
|
| |||||||||
| F11 | BOA | 2.11 | 4.35 | 1.49 | 1.11 | 7.82 | 2.23 | 4.66 | 4.12 |
| WOA | 8.88 | 7.99 | 3.85 | 2.65 | 8.88 | 1.51 | 5.03 | 3.37 | |
| SCA | 2.04 | 2.06 | 2.05 | 6.67 | 2.08 | 2.09 | 2.09 | 2.84 | |
| SSA | 8.88 | 8.88 | 8.88 | 0 | 8.88 | 8.88 | 8.88 | 0 | |
| MRFO | 8.88 | 8.88 | 8.88 | 0 | 8.88 | 8.88 | 8.88 | 0 | |
| LGMRFO | 8.88 | 8.88 | 8.88 | 0 | 8.88 | 8.88 | 8.88 | 0 | |
|
| |||||||||
| F12 | BOA | 1.37 | 1.01 | 2.97 | 2.70 | 5.91 | 3.51 | 7.83 | 6.69 |
| WOA | 1.52 | 5.89 | 1.18 | 1.90 | 4.32 | 4.26 | 1.42 | 7.78 | |
| SCA | 1.27 | 7.06 | 3.55 | 1.33 | 3.43 | 1.39 | 7.27 | 3.02 | |
| SSA | 0 | 3.85 | 2.02 | 7.22 | 0 | 3.62 | 2.15 | 7.20 | |
| MRFO | 0 | 2.57 | 3.21 | 4.70 | 0 | 3.76 | 4.21 | 1.01 | |
| LGMRFO | 0 | 4.30 | 9.43 | 1.27 | 0 | 0 | 0 | 0 | |
Comparison of some CEC2017 test suite Functions.
| Function | Algorithm | Best | Worst | Average | Std. Deviation |
|---|---|---|---|---|---|
| CF2 | BOA | 61865.0516 | 94673.9128 | 83610.9 | 7252.6901 |
| WOA | 181153.9155 | 432212.7775 | 276488.167 | 55312.8565 | |
| SCA | 47819.1154 | 168455.467 | 86410.2938 | 22263.7286 | |
| SSA | 62613.8174 | 88822.6913 | 76844.6378 | 5701.0961 | |
| MRFO | 9829.1363 | 31305.175 | 19475.5722 | 5541.5783 | |
|
|
|
|
|
| |
|
| |||||
| CF4 | BOA | 877.3537 | 967.557 | 910.4024 | 22.3843 |
| WOA | 729.3879 | 1020.0647 | 864.4385 | 73.0595 | |
| SCA | 786.6671 | 876.3863 | 835.3316 | 26.4226 | |
| SSA | 670.135 | 847.6568 | 777.11 | 42.704 | |
| MRFO | 598.501 | 749.7332 | 657.6086 | 38.2902 | |
|
|
|
|
|
| |
|
| |||||
| CF7 | BOA | 1105.4266 | 1162.1825 | 1132.1944 | 15.1434 |
| WOA | 1009.6932 | 1229.7966 | 1074.2146 | 51.6852 | |
| SCA | 1065.2217 | 1126.971 | 1096.4516 | 17.2106 | |
| SSA | 891.4775 | 1049.7886 | 992.9483 | 34.9974 | |
| MRFO | 873.6269 | 1002.9701 | 952.1615 | 34.1025 | |
|
|
|
|
|
| |
|
| |||||
| CF8 | BOA | 8895.1653 | 12920.2913 | 11075.1726 | 1016.128 |
| WOA | 6526.484 | 24593.4414 | 11953.6288 | 4545.5098 | |
| SCA | 5801.305 | 12951.4022 | 9435.4069 | 2185.7205 | |
| SSA | 5377.5911 | 6872.3515 | 5815.5711 | 314.8259 | |
| MRFO | 2164.7351 | 7093.8441 | 4205.0785 | 1036.6014 | |
|
|
|
|
|
| |
|
| |||||
| CF10 | BOA | 6547.2791 | 13835.6547 | 9002.8469 | 2183.7801 |
| WOA | 3775.3694 | 17919.2339 | 10044.4225 | 3734.4153 | |
| SCA | 2566.8743 | 5716.6906 | 3883.7186 | 870.4679 | |
| SSA | 1492.0962 | 4381.4378 | 2434.9342 | 820.455 | |
|
|
|
|
|
| |
| LGMRFO | 1164.0194 | 1259.8653 | 1201.5794 | 37.8005 | |
|
| |||||
| CF15 | BOA | 4532.5588 | 12202.6872 | 7530.0974 | 1860.0716 |
| WOA | 3091.6252 | 6343.4343 | 4183.5431 | 668.3028 | |
| SCA | 3391.0211 | 4496.9845 | 4182.2468 | 265.6575 | |
| SSA | 2430.5504 | 4058.9642 | 3139.6938 | 393.3999 | |
| MRFO | 2095.1895 | 3166.5832 | 2712.2462 | 317.7892 | |
|
|
|
|
|
| |
|
| |||||
| CF17 | BOA | 4956069.9615 | 195429416.0647 | 58482274.1537 | 48599692.6692 |
| WOA | 466476.5171 | 41365723.3653 | 9301704.5173 | 10116889.255 | |
| SCA | 2977781.3915 | 38837593.3164 | 15400703.9766 | 9893645.6625 | |
| SSA | 81791.5292 | 12803104.8522 | 2438302.354 | 2728490.4502 | |
| MRFO | 41716.4756 | 962707.3555 | 254339.6966 | 203873.0355 | |
|
|
|
|
|
| |
|
| |||||
| CF20 | BOA | 2612.4543 | 2931.4312 | 2729.5077 | 205.2435 |
| WOA | 2412.3452 | 2734.6753 | 2582.6538 | 66.6743 | |
| SCA | 2400.7732 | 2714.5564 | 2609.7752 | 76.453 | |
| SSA | 2423.4533 | 2612.1334 | 2543.1367 | 23.8764 | |
| MRFO | 2201.1145 | 2511.1134 | 2422.0052 | 16.0254 | |
|
|
|
|
|
| |
|
| |||||
| CF24 | BOA | 4867.6438 | 7550.4929 | 6012.4665 | 605.8525 |
| WOA | 3111.795 | 3356.4394 | 3222.9168 | 72.9402 | |
| SCA | 3305.9347 | 4349.4399 | 3601.44 | 268.54 | |
| SSA | 2937.7087 | 3081.5462 | 3001.3027 | 38.5158 | |
|
|
|
|
|
| |
| LGMRFO | 2891.818 | 2979.9971 | 2932.3753 | 24.3826 | |
Figure 4Average convergence curves of some CEC2017 test suite functions. (a) CF2. (b) CF4. (c) CF7 (d) CF8. (e) CF10. (f) CF15. (g) CF17. (h) CF20. (i) CF24.
Wilcoxon rank sum test results for 50 and fixed dimensions.
| F | MRFO | SSA | SCA | WOA | BOA |
|---|---|---|---|---|---|
| F1 | NaN | 1.21 | 1.21 | 1.21 | 1.21 |
| F2 | NaN | 1.21 | 1.21 | 1.21 | 1.21 |
| F3 | NaN | 1.66 | 1.21 | 1.21 | 1.21 |
| F4 | NaN | 1.93 | 1.21 | 1.21 | 1.21 |
| F5 | NaN | NaN | 1.21 | 0.3337 | 1.21 |
| F6 | NaN | NaN | 1.21 | NaN | 0.0013 |
| F7 | NaN | NaN | 1.21 | NaN | 1.21 |
| F8 | NaN | NaN | 1.21 | 0.3337 | 1.95 |
| F9 | 0.0023 | 3.02 | 3.02 | 3.02 | 3.02 |
| F10 | NaN | 1.66 | 1.21 | 1.21 | 1.21 |
| F11 | NaN | NaN | 1.21 | 2.17 | 1.21 |
| F12 | 0.8877 | 0.2010 | 2.40 | 2.42 | 2.40 |
| F13 | 0.0419 | 3.46 | 4.28 | 3.86 | 5.84 |
| F14 | 0.0080 | 4.09 | 1.57 | 1.57 | 1.57 |
| F15 | 0.3128 | 3.02 | 1.72 | 1.72 | 1.72 |
Wilcoxon rank sum test results for 500 dimensions.
| F | MRFO | SSA | SCA | WOA | BOA |
|---|---|---|---|---|---|
| F1 | NaN | 5.77 | 1.21 | 1.21 | 1.21 |
| F2 | 0.3337 | 5.77 | 1.69 | 1.69 | 1.69 |
| F3 | NaN | 4.57 | 1.21 | 1.21 | 1.21 |
| F4 | NaN | 4.57 | 1.21 | 1.21 | 1.21 |
| F5 | NaN | NaN | 1.21 | NaN | 1.21 |
| F6 | NaN | NaN | 1.21 | NaN | NaN |
| F7 | NaN | NaN | 1.21 | NaN | NaN |
| F8 | NaN | NaN | 1.21 | NaN | 0.3337 |
| F9 | 3.02 | 3.02 | 3.02 | 3.02 | 3.02 |
| F10 | NaN | 4.57 | 1.21 | 1.21 | 1.21 |
| F11 | NaN | NaN | 1.21 | 3.66 | 1.21 |
| F12 | 1.27 | 1.21 | 1.21 | 1.21 | 1.21 |
Wilcoxon rank sum test results for 9 CEC2017 functions.
| F | MRFO | SSA | SCA | WOA | BOA |
|---|---|---|---|---|---|
| CF2 | 1.5292 | 3.0199 | 3.0199 | 3.0199 | 3.0199 |
| CF4 | 0.9 | 4.1997 | 3.0199 | 4.0772 | 3.0199 |
| CF7 | 0.040595 | 1.5581 | 3.0199 | 3.0199 | 3.0199 |
| CF8 | 0.096263 | 5.4941 | 3.0199 | 3.0199 | 3.0199 |
| CF10 | 0.00047138 | 3.0199 | 3.0199 | 3.0199 | 3.0199 |
| CF15 | 0.26433 | 0.0015178 | 3.6897 | 8.1527 | 3.0199 |
| CF17 | 0.00065486 | 3.8249 | 3.0199 | 3.0199 | 3.0199 |
| CF20 | 6.5991 | 3.8249 | 3.0199 | 3.0199 | 3.0199 |
| CF24 | 7.5991 | 3.8249 | 3.0199 | 3.0199 | 3.0199 |
Parameter setting for WSN coverage.
| Parameters | Values |
|---|---|
| Region | 50 m × 50 m |
| Number of nodes | 30/35 |
| Perceived radius | 5 m |
| Communication radius | 10 m |
Figure 5Node distribution before and after algorithm optimization: (a) Coverage result of MRFO (N = 30), (b) Coverage result of LGMRFO (N = 30), (c) Coverage result of MRFO (N = 35), and (d) Coverage result of LGMRFO (N = 35).
Average coverage.
| Algorithm | Average coverage/% | |||
|---|---|---|---|---|
| 30 nodes | 30 nodes initialization | 35 nodes | 35 nodes initialization | |
| MRFO | 82.79 | 63.36 | 89.24 | 67.47 |
| LGMRFO | 83.87 | 63.65 | 90.66 | 68.89 |
Figure 6Average coverage iteration curve: (a) Average coverage iteration curve (N = 30) and (b) Average coverage iteration curve (N = 35).