资源简介
woa是2016年提出的新群智能算法,基于座头鲸的捕食行为,压缩包包括woa算法代码和文章
代码片段和文件信息
%_________________________________________________________________________%
% 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‘)=
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3633 2016-03-03 03:49 WOA\func_plot.m
文件 7725 2016-03-03 03:49 WOA\Get_Functions_details.m
文件 1953 2016-03-03 03:49 WOA\initialization.m
文件 3149 2016-03-03 03:49 WOA\main.m
文件 4214 2016-03-03 03:49 WOA\WOA.m
文件 232696 2016-03-03 03:49 WOA\WOA.png
文件 1318 2016-03-03 03:49 license.txt
- 上一篇:常见中间件漏洞总结PPT
- 下一篇:VGA显示汉字
评论
共有 条评论