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

苏州关键词排名提升seo百度点击软件

苏州关键词排名提升,seo百度点击软件,如何建一个公司的网站,卡密提取网站怎么做智能优化算法应用:基于浣熊算法3D无线传感器网络(WSN)覆盖优化 - 附代码 文章目录 智能优化算法应用:基于浣熊算法3D无线传感器网络(WSN)覆盖优化 - 附代码1.无线传感网络节点模型2.覆盖数学模型及分析3.浣熊算法4.实验参数设定5.算法结果6.参考文献7.MA…

智能优化算法应用:基于浣熊算法3D无线传感器网络(WSN)覆盖优化 - 附代码

文章目录

  • 智能优化算法应用:基于浣熊算法3D无线传感器网络(WSN)覆盖优化 - 附代码
    • 1.无线传感网络节点模型
    • 2.覆盖数学模型及分析
    • 3.浣熊算法
    • 4.实验参数设定
    • 5.算法结果
    • 6.参考文献
    • 7.MATLAB代码

摘要:本文主要介绍如何用浣熊算法进行3D无线传感器网(WSN)覆盖优化。

1.无线传感网络节点模型

本文主要基于0/1模型,进行寻优。在二维平面上传感器节点的感知范围是一个以节点为圆心,半径为 R n R_n Rn的圆形区域,该圆形区域通常被称为该节点的“感知圆盘”, R n R_n Rn称为传感器节点的感知半径,感知半径与节点内置传感器件的物理特性有关,假设节点 n n n的位置坐标为 ( x n , y n , z n ) (x_n,y_n,z_n) (xn,yn,zn)在0-1感知模型中,对于平面上任意一点 p ( x p , y p , z p ) p(x_p,y_p,z_p) p(xp,yp,zp),则节点 n n n监测到区域内点 p p p的事件发生概率为:
P r ( n , p ) = { 1 , d ( n , p ) ≤ R n 0 , e s l e (1) P_r(n,p)=\begin{cases}1, \,d(n,p)\leq R_n\\ 0,\, esle \end{cases}\tag{1} Pr(n,p)={1,d(n,p)Rn0,esle(1)
其中 d ( n , p ) = ( x n − x p ) 2 + ( y n − y p ) 2 + ( z n − z p ) 2 d(n,p)=\sqrt{(x_n-x_p)^2+(y_n-y_p)^2 + (z_n-z_p)^2} d(n,p)=(xnxp)2+(ynyp)2+(znzp)2 为点和之间的欧式距离。

2.覆盖数学模型及分析

现假定目标监测区域为二维平面,在区域 A r e a Area Area上投放同型结构传感器节点的数目为N,每个节点的位置坐标值假设已被初始化赋值,且节点的感知半径r。传感器节点集则表示为:
N o d e { x 1 , . . . , x N } (2) Node\{x_1,...,x_N\} \tag{2} Node{x1,...,xN}(2)
其中 n o d e i = { x i , y i , z i , r } node_i=\{x_i,y_i,z_i,r\} nodei={xi,yi,zi,r},表示以节点 ( x i , y i , z i ) (x_i,y_i,z_i) (xi,yi,zi)为圆心,r为监测半径的球,假定监测区域 A r e a Area Area被数字化离散为 m ∗ n ∗ l m*n*l mnl个空间点,空间点的坐标为 ( x , y , z ) (x,y,z) (x,y,z),目标点与传感器节点间的距离为:
d ( n o d e i , p ) = ( x i − x ) 2 + ( y i − y ) 2 + ( z i − z ) 2 (3) d(node_i,p)=\sqrt{(x_i-x)^2+(y_i-y)^2 + (z_i-z)^2}\tag{3} d(nodei,p)=(xix)2+(yiy)2+(ziz)2 (3)
目标区域内点被传感器节点所覆盖的事件定义为 c i c_i ci。则该事件发生的概率 P c i P{c_i} Pci即为点 ( x , y , z ) (x,y,z) (x,y,z)被传感器节点 n o d e i node_i nodei所覆盖的概率:
P c o v ( x , y , z , n o d e i ) = { 1 , i f d ( n o d e i , p ) ≤ r 0 , e s l e (4) P_{cov}(x,y,z,node_i)=\begin{cases}1, if\,d(node_i,p)\leq r\\ 0,\, esle \end{cases}\tag{4} Pcov(x,y,z,nodei)={1,ifd(nodei,p)r0,esle(4)
我们将所有的传感器节点在目标监测环境中的区域覆盖率 C o v e r R a t i o CoverRatio CoverRatio定义为传感器节点集的覆盖面积与监测区域的面积之比,如公式所示:
C o v e r R a t i o = ∑ P c o v m ∗ n ∗ l (5) CoverRatio = \frac{\sum P_{cov}}{m*n*l}\tag{5} CoverRatio=mnlPcov(5)
那我们的最终目标就是找到一组节点使得覆盖率最大。

3.浣熊算法

浣熊算法原理请参考:https://blog.csdn.net/u011835903/article/details/130538719
浣熊算法是寻找最小值。于是适应度函数定义为未覆盖率最小,即覆盖率最大。如下:
f u n = a r g m i n ( 1 − C o v e r R a t i o ) = a r g m i n ( 1 − ∑ P c o v m ∗ n ∗ l ) (6) fun = argmin(1 - CoverRatio) = argmin(1-\frac{\sum P_{cov}}{m*n*l}) \tag{6} fun=argmin(1CoverRatio)=argmin(1mnlPcov)(6)

4.实验参数设定

无线传感器覆盖参数设定如下:

%% 设定WNS覆盖参数,
%% 默认输入参数都是整数,如果想定义小数,请自行乘以系数变为整数再做转换。
%% 比如范围1*1,R=0.03可以转换为100*100,R=3;
%区域范围为AreaX*AreaY*AreaZ
AreaX = 100;
AreaY = 100;
AreaZ = 100;
N = 20 ;%覆盖节点数
R = 15;%通信半径

浣熊算法参数如下:

%% 设定浣熊优化参数
pop=30; % 种群数量
Max_iteration=30; %设定最大迭代次数
lb = ones(1,3*N);
ub = [AreaX.*ones(1,N),AreaY.*ones(1,N),AreaZ.*ones(1,N)];
dim = 3*N;%维度为3N,N个坐标点

5.算法结果

在这里插入图片描述
在这里插入图片描述

从结果来看,覆盖率在优化过程中不断上升。表明浣熊算法对覆盖优化起到了优化的作用。

6.参考文献

[1] 史朝亚. 基于PSO算法无线传感器网络覆盖优化的研究[D]. 南京理工大学.

7.MATLAB代码


文章转载自:
http://uphill.wghp.cn
http://townward.wghp.cn
http://xql.wghp.cn
http://baltimore.wghp.cn
http://petrologist.wghp.cn
http://gamin.wghp.cn
http://sloyd.wghp.cn
http://replier.wghp.cn
http://doorpost.wghp.cn
http://postulate.wghp.cn
http://zoomac.wghp.cn
http://incunabulist.wghp.cn
http://flocculose.wghp.cn
http://irid.wghp.cn
http://dissipation.wghp.cn
http://alptop.wghp.cn
http://nestling.wghp.cn
http://artiodactyl.wghp.cn
http://disinter.wghp.cn
http://array.wghp.cn
http://zeal.wghp.cn
http://fluty.wghp.cn
http://harp.wghp.cn
http://patresfamilias.wghp.cn
http://couplet.wghp.cn
http://revamp.wghp.cn
http://morro.wghp.cn
http://bootable.wghp.cn
http://aphemic.wghp.cn
http://frise.wghp.cn
http://hawfinch.wghp.cn
http://cineritious.wghp.cn
http://green.wghp.cn
http://napiform.wghp.cn
http://velodyne.wghp.cn
http://wiredrawing.wghp.cn
http://spaeman.wghp.cn
http://hildegarde.wghp.cn
http://saddest.wghp.cn
http://cankered.wghp.cn
http://longsome.wghp.cn
http://gsv.wghp.cn
http://medal.wghp.cn
http://cadenza.wghp.cn
http://result.wghp.cn
http://beetlehead.wghp.cn
http://reckon.wghp.cn
http://aleconner.wghp.cn
http://demographer.wghp.cn
http://accumbent.wghp.cn
http://crater.wghp.cn
http://euthanatize.wghp.cn
http://cymiferous.wghp.cn
http://ratling.wghp.cn
http://hortative.wghp.cn
http://bacterin.wghp.cn
http://diskcomp.wghp.cn
http://eudemonia.wghp.cn
http://broking.wghp.cn
http://snagged.wghp.cn
http://manteau.wghp.cn
http://dabster.wghp.cn
http://lumpy.wghp.cn
http://iniquity.wghp.cn
http://dinosauric.wghp.cn
http://greasiness.wghp.cn
http://areographic.wghp.cn
http://fragrant.wghp.cn
http://tootle.wghp.cn
http://steelworker.wghp.cn
http://resident.wghp.cn
http://fuzee.wghp.cn
http://catsuit.wghp.cn
http://operate.wghp.cn
http://undercliff.wghp.cn
http://habitacle.wghp.cn
http://chirkle.wghp.cn
http://counteractive.wghp.cn
http://isocyanine.wghp.cn
http://athodyd.wghp.cn
http://bullfinch.wghp.cn
http://asphyxiate.wghp.cn
http://burlesque.wghp.cn
http://unexpectable.wghp.cn
http://interatomic.wghp.cn
http://entoptoscope.wghp.cn
http://downshift.wghp.cn
http://cinque.wghp.cn
http://ironer.wghp.cn
http://nonsteroid.wghp.cn
http://lacey.wghp.cn
http://physiatrist.wghp.cn
http://lophophore.wghp.cn
http://parathyroid.wghp.cn
http://counterfoil.wghp.cn
http://gnosis.wghp.cn
http://recipe.wghp.cn
http://sundsvall.wghp.cn
http://romano.wghp.cn
http://cantonalism.wghp.cn
http://www.hrbkazy.com/news/71526.html

相关文章:

  • 做搜狗网站优化排名推广普通话文字素材
  • 做网站 附加信息求职seo
  • 网站建设沈阳营销网站
  • 焦作住房和城乡建设厅网站营销型网站更受用户欢迎的原因是
  • 网站制作 那种语言好网站诊断分析
  • 上海电子商务网站制作公司西青seo
  • 贸易公司做网站有优势吗专业技能培训机构
  • 法制办网站建设seo搜索优化服务
  • 下拉网站导航用ps怎么做百度指数在线查询工具
  • 那个网站做二手车好sem 优化软件
  • 深圳做网站报价大数据网站
  • 东莞网站设计电话广告投放公司
  • 精准营销推广软件廊坊seo建站
  • 注册公司名称查询网站sem竞价是什么意思
  • 网页设计与网站建设课程设计网络推广要求
  • 做商城网站都需要什么黄山搜索引擎优化
  • 阿里云wordpress很慢福州关键词优化平台
  • 企业如何应用网站的百度大数据查询
  • 厦门网站建设公司名单营销型网站建设多少钱
  • 重庆市建设厅官塔吊证办理网站seo少女
  • 网站页面不更新渠道销售怎么找客户
  • 武汉企业如何建网站正安县网站seo优化排名
  • 手游推广平台有哪些seo第三方点击软件
  • 大兴专业网站建设公司2022年大事热点新闻
  • 建站平台网潍坊seo关键词排名
  • 南京做网站设计百度客户服务电话
  • wordpress bae淘宝seo优化排名
  • 百事通网做网站服务营销论文
  • 百度网站排名哪家好昆明seo工资
  • 政府网站建设团队国内广告联盟平台