资源简介
此资源是在Seyedali Mirjalili鲸鱼优化算法matlab源代码上增加详细中文注释,方便阅读和学习
代码片段和文件信息
%_________________________________________________________________________%
% Whale Optimization Algorithm (WOA) source codes demo 1.0 %
% %
% Developed in MATLAB R2011b(7.13) %
% %
% Author and programmer: Seyedali Mirjalili %
% %
% e-Mail: ali.mirjalili@gmail.com %
% seyedali.mirjalili@griffithuni.edu.au %
% %
% Homepage: http://www.alimirjalili.com %
% %
% Main paper: S. Mirjalili A. Lewis %
% The Whale Optimization Algorithm %
% Advances in Engineering Software in press %
% DOI: http://dx.doi.org/10.1016/j.advengsoft.2016.01.008 %
% %
%_________________________________________________________________________%
% This function draw the benchmark functions
function func_plot(func_name)
[lbubdimfobj]=Get_Functions_details(func_name);
switch func_name
case ‘F1‘
x=-100:2:100; y=x; %[-100100]
case ‘F2‘
x=-100:2:100; y=x; %[-1010]
case ‘F3‘
x=-100:2:100; y=x; %[-100100]
case ‘F4‘
x=-100:2:100; y=x; %[-100100]
case ‘F5‘
x=-200:2:200; y=x; %[-55]
case ‘F6‘
x=-100:2:100; y=x; %[-100100]
case ‘F7‘
x=-1:0.03:1; y=x %[-11]
case ‘F8‘
x=-500:10:500;y=x; %[-500500]
case ‘F9‘
x=-5:0.1:5; y=x; %[-55]
case ‘F10‘
x=-20:0.5:20; y=x;%[-500500]
case ‘F11‘
x=-500:10:500; y=x;%[-0.50.5]
case ‘F12‘
x=-10:0.1:10; y=x;%[-pipi]
case ‘F13‘
x=-5:0.08:5; y=x;%[-31]
case ‘F14‘
x=-100:2:100; y=x;%[-100100]
case ‘F15‘
x=-5:0.1:5; y=x;%[-55]
case ‘F16‘
x=-1:0.01:1; y=x;%[-55]
case ‘F17‘
x=-5:0.1:5; y=x;%[-55]
case ‘F18‘
x=-5:0.06:5; y=x;%[-55]
case ‘F19‘
x=-5:0.1:5; y=x;%[-55]
case ‘F20‘
x=-5:0.1:5; y=x;%[-55]
case ‘F21‘
x=-5:0.1:5; y=x;%[-55]
case ‘F22‘
x=-5:0.1:5; y=x;%[-55]
case ‘F23‘
x=-5:0.1:5; y=x;%[-55]
end
L=length(x);
f=[];
for i=1:L
for j=1:L
if strcmp(func_name‘F15‘)==0 && strcmp(func_name‘F19‘)==0 && strcmp(func_name‘F20‘)==0 && strcmp(func_name‘F21‘)=
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2967555 2015-11-11 06:57 WOA_注释版\ALO.pdf
文件 3779487 2015-05-29 20:31 WOA_注释版\DA.pdf
文件 4355134 2015-03-21 23:17 WOA_注释版\GWO.pdf
文件 3247436 2015-10-19 12:08 WOA_注释版\MFO.pdf
文件 1702717 2016-07-31 22:56 WOA_注释版\MOALO.pdf
文件 1077008 2016-01-10 18:42 WOA_注释版\MOGWO.pdf
文件 1726085 2015-11-11 06:56 WOA_注释版\MVO.pdf
文件 3333680 2016-02-03 19:12 WOA_注释版\SCA.pdf
文件 3633 2016-02-10 23:43 WOA_注释版\WOA\func_plot.m
文件 7725 2016-02-10 23:43 WOA_注释版\WOA\Get_Functions_details.m
文件 2043 2018-10-17 15:24 WOA_注释版\WOA\initialization.m
文件 3663 2018-10-17 15:24 WOA_注释版\WOA\main.m
文件 4626 2018-10-17 16:20 WOA_注释版\WOA\WOA.m
文件 1841081 2016-02-27 17:00 WOA_注释版\WOA\WOA.pdf
文件 232696 2016-02-27 18:44 WOA_注释版\WOA\WOA.png
目录 0 2018-10-17 16:20 WOA_注释版\WOA
目录 0 2018-10-12 20:52 WOA_注释版
----------- --------- ---------- ----- ----
24284569 17
- 上一篇:matlab下的MVO飞蛾优化算法
- 下一篇:组合导航松组合间接法的MATLAB程序
评论
共有 条评论