91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

程序提出了一種基于人群混合算法,是粒子群優化和引力搜索算法的組合。主要目標提高整合PSO和GSA算法的能力 A new hybrid population-based algorithm (PSOGSA) is pr

資源截圖

代碼片段和文件信息

%PSOGSA?source?code?v2.0?Generated?by?SeyedAli?Mirjalili?2011.?
%Adopted?from:?S.?Mirjalili?S.Z.?Mohd?Hashim?揂?New?Hybrid?PSOGSA?
%Algorithm?for?Function?Optimization?in?IEEE?International?Conference?
%on?Computer?and?Information?Application?ICCIA?2010)?China?2010?pp.374-377.

%?This?function?calculates?the?value?of?objective?function.
function?fit=benchmark_functions(LBenchmark_Function_IDdim)

%You?can?insert?your?own?objective?function?with?a?new?Benchmark_Function_ID.

if?Benchmark_Function_ID==1
fit=sum(L.^2);
end

if?Benchmark_Function_ID==2?
fit=sum(abs(L))+prod(abs(L));
end

if?Benchmark_Function_ID==3
????fit=0;
????for?i=1:dim
????fit=fit+sum(L(1:i))^2;
????end
end

if?Benchmark_Function_ID==4
????fit=max(abs(L));
end

if?Benchmark_Function_

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????4047??2012-03-30?21:04??benchmark_functions.m
?????文件????????2128??2012-03-30?21:03??benchmark_functions_details.m
?????文件????????1339??2012-03-31?08:08??license.txt
?????文件?????????845??2012-03-30?21:03??Main.m
?????文件??????164559??2012-03-30?21:01??PSOGSA.jpg
?????文件????????5228??2012-03-30?21:04??PSOGSA.m

評論

共有 條評論