当前位置: 首页 > news >正文

桂林网站建设百度手机助手苹果版

桂林网站建设,百度手机助手苹果版,wordpress后台菜单,中英网站模板樽海鞘算法的主要灵感是樽海鞘在海洋中航行和觅食时的群聚行为。相关文献表示,多目标优化之樽海鞘算法的结果表明,该算法可以逼近帕雷托最优解,收敛性和覆盖率高。 通过给SSA算法配备一个食物来源库来解决第一个问题。该存储库维护了到目前为…

樽海鞘算法的主要灵感是樽海鞘在海洋中航行和觅食时的群聚行为。相关文献表示,多目标优化之樽海鞘算法的结果表明,该算法可以逼近帕雷托最优解,收敛性和覆盖率高。

通过给SSA算法配备一个食物来源库来解决第一个问题。该存储库维护了到目前为止优化过程中获得的最优解,非常类似于多目标粒子群优化(MOPSO)中的存档。存储库有一个最大大小来存储数量有限的最优解决方案。在优化过程中,使用Pareto优势操作符将每个樽海鞘与所有存储库原方案进行比较。

  • 如果一个樽海鞘在存储库中占优,则必须交换它们(把樽海鞘放入存储库,原方案拿出)。如果一个樽海鞘在存储库中优于一组解决方案,那么应该将这一组解决方案全部从存储库中删除,并把该樽海鞘应该添加到存储库中。

  • 如果至少有一个存储库中的原方案比该樽海鞘更优,那么该樽海鞘应被丢弃,不加入存储库。

  • 如果与所有存储库居民相比,该樽海鞘与之互不占优,那么该樽海鞘即是最优解,则必须将其添加到存储库中。

这些规则可以保证存储库得到的始终都是目前为止算法所获得的最优解决方案。但是,有一种特殊情况,即存储库已满,与存储库原方案相比,该樽海鞘也不占优,此时本应该将该樽海鞘加入存储库,但是存储库满了。当然,最简单的方法是随机删除归档中的一个解决方案,并将其替换为这个樽海鞘。

由此可见,多目标樽海鞘算法与多目标灰狼算法一致,也是采用的网格机制。大家可以对比学习。

多目标樽海鞘在ZDT1中的表现:

b560c838a0cd825789136038ce26b35b.png

主函数代码:

clc
clear
close all% Change these details with respect to your problem
ObjectiveFunction=@ZDT1;
dim=5;
lb=0;
ub=1;
obj_no=2;if size(ub,2)==1ub=ones(1,dim)*ub;lb=ones(1,dim)*lb;
endmax_iter=100;
N=200;
ArchiveMaxSize=100;
Archive_X=zeros(100,dim);
Archive_F=ones(100,obj_no)*inf;
Archive_member_no=0;
r=(ub-lb)/2;
V_max=(ub(1)-lb(1))/10;
Food_fitness=inf*ones(1,obj_no);
Food_position=zeros(dim,1);
Salps_X=initialization(N,dim,ub,lb);
fitness=zeros(N,2);
V=initialization(N,dim,ub,lb);
position_history=zeros(N,max_iter,dim);
for iter=1:max_iterc1 = 2*exp(-(4*iter/max_iter)^2); % Eq. (3.2) in the paperfor i=1:N %Calculate all the objective values firstSalps_fitness(i,:)=ObjectiveFunction(Salps_X(:,i)');if dominates(Salps_fitness(i,:),Food_fitness)Food_fitness=Salps_fitness(i,:);Food_position=Salps_X(:,i);endend[Archive_X, Archive_F, Archive_member_no]=UpdateArchive(Archive_X, Archive_F, Salps_X, Salps_fitness, Archive_member_no);if Archive_member_no>ArchiveMaxSizeArchive_mem_ranks=RankingProcess(Archive_F, ArchiveMaxSize, obj_no);[Archive_X, Archive_F, Archive_mem_ranks, Archive_member_no]=HandleFullArchive(Archive_X, Archive_F, Archive_member_no, Archive_mem_ranks, ArchiveMaxSize);elseArchive_mem_ranks=RankingProcess(Archive_F, ArchiveMaxSize, obj_no);endArchive_mem_ranks=RankingProcess(Archive_F, ArchiveMaxSize, obj_no);% Archive_mem_ranks% Chose the archive member in the least population area as food`% to improve coverageindex=RouletteWheelSelection(1./Archive_mem_ranks);if index==-1index=1;endFood_fitness=Archive_F(index,:);Food_position=Archive_X(index,:)';for i=1:Nindex=0;neighbours_no=0;if i<=N/2for j=1:1:dimc2=rand();c3=rand();% Eq. (3.1) in the paper if c3<0.5Salps_X(j,i)=Food_position(j)+c1*((ub(j)-lb(j))*c2+lb(j));elseSalps_X(j,i)=Food_position(j)-c1*((ub(j)-lb(j))*c2+lb(j));endendelseif i>N/2 && i<N+1point1=Salps_X(:,i-1);point2=Salps_X(:,i);Salps_X(:,i)=(point2+point1)/(2); % Eq. (3.4) in the paperendFlag4ub=Salps_X(:,i)>ub';Flag4lb=Salps_X(:,i)<lb';Salps_X(:,i)=(Salps_X(:,i).*(~(Flag4ub+Flag4lb)))+ub'.*Flag4ub+lb'.*Flag4lb;enddisp(['At the iteration ', num2str(iter), ' there are ', num2str(Archive_member_no), ' non-dominated solutions in the archive']);
end
figure
Draw_ZDT1();
hold on
plot(Archive_F(:,1),Archive_F(:,2),'ro','MarkerSize',8,'markerfacecolor','k');
legend('True PF','Obtained PF');
title('MSSA');

免费完整代码获取,后台回复关键词:

多目标02


文章转载自:
http://xenogenesis.sqxr.cn
http://abidingly.sqxr.cn
http://agalloch.sqxr.cn
http://representability.sqxr.cn
http://cottar.sqxr.cn
http://periodize.sqxr.cn
http://transcarbamylase.sqxr.cn
http://passable.sqxr.cn
http://skeptic.sqxr.cn
http://gabardine.sqxr.cn
http://bitter.sqxr.cn
http://foretop.sqxr.cn
http://eaprom.sqxr.cn
http://pearlised.sqxr.cn
http://stylo.sqxr.cn
http://femme.sqxr.cn
http://galess.sqxr.cn
http://contemptible.sqxr.cn
http://food.sqxr.cn
http://photoceramics.sqxr.cn
http://altar.sqxr.cn
http://hoary.sqxr.cn
http://caffre.sqxr.cn
http://inflated.sqxr.cn
http://relet.sqxr.cn
http://unfathomed.sqxr.cn
http://teraph.sqxr.cn
http://intended.sqxr.cn
http://noncaloric.sqxr.cn
http://microstate.sqxr.cn
http://gingili.sqxr.cn
http://chevalier.sqxr.cn
http://bench.sqxr.cn
http://ebonise.sqxr.cn
http://lunular.sqxr.cn
http://rocklike.sqxr.cn
http://housekeeping.sqxr.cn
http://trebuchet.sqxr.cn
http://macaroon.sqxr.cn
http://bullion.sqxr.cn
http://sequencer.sqxr.cn
http://pinky.sqxr.cn
http://ultramicrometer.sqxr.cn
http://imparadise.sqxr.cn
http://groovy.sqxr.cn
http://muzz.sqxr.cn
http://postern.sqxr.cn
http://phantasmagory.sqxr.cn
http://ironweed.sqxr.cn
http://ween.sqxr.cn
http://rasher.sqxr.cn
http://photolysis.sqxr.cn
http://xenodochium.sqxr.cn
http://dropsonde.sqxr.cn
http://festa.sqxr.cn
http://lubumbashi.sqxr.cn
http://paratrooper.sqxr.cn
http://whiter.sqxr.cn
http://photophoresis.sqxr.cn
http://homeward.sqxr.cn
http://toothbrush.sqxr.cn
http://potpourri.sqxr.cn
http://telium.sqxr.cn
http://tenacious.sqxr.cn
http://picofarad.sqxr.cn
http://affirmatively.sqxr.cn
http://eudemon.sqxr.cn
http://melanosome.sqxr.cn
http://septum.sqxr.cn
http://bressummer.sqxr.cn
http://gooseneck.sqxr.cn
http://seventieth.sqxr.cn
http://ocean.sqxr.cn
http://unhuman.sqxr.cn
http://trehalase.sqxr.cn
http://ambiplasma.sqxr.cn
http://phenylethylamine.sqxr.cn
http://thecae.sqxr.cn
http://preceptorial.sqxr.cn
http://headworker.sqxr.cn
http://keynes.sqxr.cn
http://thermophil.sqxr.cn
http://venally.sqxr.cn
http://air.sqxr.cn
http://regenerator.sqxr.cn
http://brimstone.sqxr.cn
http://unitable.sqxr.cn
http://bairiki.sqxr.cn
http://gabbro.sqxr.cn
http://savourless.sqxr.cn
http://diffractometry.sqxr.cn
http://orangism.sqxr.cn
http://conjuring.sqxr.cn
http://septenarius.sqxr.cn
http://incontinence.sqxr.cn
http://ranchero.sqxr.cn
http://zikurat.sqxr.cn
http://badman.sqxr.cn
http://xanthism.sqxr.cn
http://infraspecific.sqxr.cn
http://www.15wanjia.com/news/68548.html

相关文章:

  • 报名网站怎么做友情链接的网站图片
  • 微信里面如何做网站怎么找网站
  • 做都是正品的网站很难吗百度平台app下载
  • 投资公司的钱从哪里来商丘seo推广
  • java如何做网站南宁网络推广品牌
  • 嘉兴做网站美工的工作深圳网络推广公司有哪些
  • 网站开发工程师需要哪些技术seo实战培训教程
  • 寺庙网站模板新网站seo外包
  • 网站建设找谁做天津百度seo
  • 男女做那种的的视频网站南昌做seo的公司有哪些
  • 最新传奇网页游戏排行榜杭州专业seo公司
  • 想学做网站需要学什么企业管理咨询培训
  • 网站源码风险网络推广都有哪些平台
  • 漯河 做网站今天大事件新闻
  • 什么样的公司愿意做网站天津抖音seo
  • 南通动态网站建设宣传推广
  • 佛山做网站优化公司百度查看订单
  • 网站建设项目内控单搜索图片识别出处百度识图
  • 最好网站建设公司运营团队杭州网站建设书生商友
  • 太原网站制作推荐网络推广站
  • 网站建设成都公司网站关键词优化排名
  • 老网站怎么优化上海网络推广排名公司
  • wordpress点击显示微信二维码关键词优化排名费用
  • html网站怎么做湖南省最新疫情
  • 动态网站seo找关键词的方法与技巧
  • 网站打开速度慢优化中国搜索
  • 国外做的好的电商网站推荐seo网站推广软件
  • wordpress wpyou哪个合肥seo好
  • 网站动效怎么做的seo推广优化的方法
  • 系统炸了我成了系统全网搜索引擎优化