Gointerface接口声明实现及作用详解
277
2022-09-01
【智能优化算法】基于人工兔群优化算法求解单目标优化问题附matlab代码
1 简介
Artificial rabbits optimization (ARO): a new bio-inspired meta-heuristic algorithm for solving engineering optimization problems
2 部分代码
%--------------------------------------------------------------------------%%% Artificial Rabbits Optimization (ARO) for 23 functions %%%% ARO code v1.0.% Developed in MATLAB R2011b% --------------------------------------------------------------------------%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%BestX:The best solution %% BestF:The best fitness %% HisBestF:History of the best fitness %% FunIndex:Index of functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%clc;clear;MaxIteration=1000;PopSize=50;FunIndex=1; [BestX,BestF,HisBestF]=ARO(FunIndex,MaxIteration,PopSize); % display(['FunIndex=', num2str(FunIndex)]); display(['The best fitness of F',num2str(FunIndex),' is: ', num2str(BestF)]); %display(['The best solution is: ', num2str(BestX)]); if BestF>0 semilogy(HisBestF,'r','LineWidth',2); else plot(HisBestF,'r','LineWidth',2); end xlabel('Iterations'); ylabel('Fitness'); title(['F',num2str(FunIndex)]);
3 仿真结果
4 参考文献
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~