爬虫搜索算法附matlab代码

本文提出了一种名为ReptileSearchAlgorithm(RSA)的新型自然启发式优化器,其灵感来源于鳄鱼的狩猎行为。RSA包括鳄鱼的环绕和狩猎两个主要步骤,与现有算法相比具有独特性。通过对23个经典测试函数、30个CEC2017测试函数、10个CEC2019测试函数和7个实际工程问题的评估,RSA在性能上优于其他竞争优化算法。实验结果显示RSA在多项基准测试中获得更优解,并在工程问题上表现出色。

​✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

智能优化算法       神经网络预测       雷达通信       无线传感器        电力系统

信号处理              图像处理               路径规划       元胞自动机        无人机 

⛄ 内容介绍

This paper proposes a novel nature-inspired meta-heuristic optimizer, called Reptile Search Algorithm (RSA), motivated by the hunting behaviour of Crocodiles. Two main steps of Crocodile behaviour are implemented, such as encircling, which is performed by high walking or belly walking, and hunting, which is performed by hunting coordination or hunting cooperation. The mentioned search methods of the proposed RSA are unique compared to other existing algorithms. The performance of the proposed RSA is evaluated using twenty-three classical test functions, thirty CEC2017 test functions, ten CEC2019 test functions, and seven real-world engineering problems. The obtained results of the proposed RSA are compared to various existing optimization algorithms in the literature. The results of the tested three benchmark functions revealed that the proposed RSA achieved better results than the other competitive optimization algorithms. The results of the Friedman ranking test proved that the RSA is a significantly superior method than other comparative methods. Finally, the results of the examined engineering problems showed that the RSA obtained better results compared to other various methods. 

⛄ 部分代码

%_______________________________________________________________________________________%

%  Reptile Search Algroithm (RSA) source codes demo version 1.0                         %

%                                                                                       %

%  Developed in MATLAB R2015a (7.13)                                                    %

%                                                                                       %

%  Author and programmer: Laith Abualigah                                               %

%                                                                                       %

%         e-Mail: Aligah.2020@gmail.com                                                 %

%       Homepage:                                                                       %

%         1- https://scholar.google.com/citations?user=39g8fyoAAAAJ&hl=en               %

%         2- https://www.researchgate.net/profile/Laith_Abualigah                       %

%_______________________________________________________________________________________%

%  Main paper:            Reptile Search Algorithm (RSA):                               %

%                  A novel nature-inspired meta-heuristic optimizer                     %                                                                       %

%_______________________________________________________________________________________%

clear all 

clc

Solution_no=50;  %Number of search solution

F_name='F3';     %Name of the test function

T=100;           %Maximum number of iterations

[LB,UB,Dim,F_obj]=Get_F(F_name); %Give details of the underlying benchmark functions

[Best_F,Best_P,Conv]=RSA(Solution_no,T,LB,UB,Dim,F_obj); % Call Reptile Search Algorithm (RSA)

figure('Position',[454   445   694   297]);

subplot(1,2,1);

func_plot(F_name);     % Function plot

title('Parameter space')

xlabel('x_1');

ylabel('x_2');

zlabel([F_name,'( x_1 , x_2 )'])

subplot(1,2,2);       % Convergance plot

plot(Conv,'LineWidth',3)

xlabel('Iteration#');

ylabel('Best fitness function');

legend('RSA');

display(['The best-obtained solution by RSA is : ', num2str(Best_P)]);  

display(['The best optimal value of the objective funciton found by RSA is : ', num2str(Best_F)]);  

⛄ 运行结果

⛄ 参考文献

[1] Abualigah, L. , et al. "Reptile Search Algorithm (RSA): A nature-inspired meta-heuristic optimizer." Expert Systems with Applications 191(2022):116158-.

⛳️ 完整代码

❤️部分理论引用网络文献,若有侵权联系博主删除

❤️ 关注我领取海量matlab电子书和数学建模资料

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

matlab科研助手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值