%% cec2017的30个函数一次统一运行,每个函数运行30次。只针对一个算法
run=30;
for number=1:30%cec优化函数序号
[lower_bound,upper_bound,variables_no,fobj] = Get_Functions_cec2017(number,variables_no);
%% ALDBO
for r = 1:run
[DBO_Best_score,~,DBO_curve,DBO_div]=DBO(pop_size,max_iter,lower_bound,upper_bound,variables_no,fobj);
display(['The best optimal value of the objective funciton found by DBO for ' [num2str(number)],' is : ', num2str(DBO_Best_score)]);
% rat Exploration 勘探。 ita Exploration泰胜,开发。
DBO_rat=DBO_div/(max(DBO_div))*100;
DBO_ita=abs(DBO_div-max(DBO_div))/max(DBO_div)*100;
dbo1(r,:) = DBO_rat;
dbo2(r,:) = DBO_ita;
end
%%
figure(1
cec2017的30个函数一次统一运行,每个函数运行30次。只针对一个算法
于 2024-03-06 00:04:32 首次发布