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

盐城网站建设哪家好站长之家官网登录入口

盐城网站建设哪家好,站长之家官网登录入口,二级网站,社交网站开发 转发智能优化算法应用:基于花授粉算法3D无线传感器网络(WSN)覆盖优化 - 附代码 文章目录 智能优化算法应用:基于花授粉算法3D无线传感器网络(WSN)覆盖优化 - 附代码1.无线传感网络节点模型2.覆盖数学模型及分析3.花授粉算法4.实验参数设定5.算法结果6.参考文…

智能优化算法应用:基于花授粉算法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/108346554
花授粉算法是寻找最小值。于是适应度函数定义为未覆盖率最小,即覆盖率最大。如下:
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://dihydrochloride.fcxt.cn
http://sapraemia.fcxt.cn
http://portico.fcxt.cn
http://stubble.fcxt.cn
http://haeremai.fcxt.cn
http://outflow.fcxt.cn
http://cullion.fcxt.cn
http://triptolemus.fcxt.cn
http://laterality.fcxt.cn
http://frondage.fcxt.cn
http://plyer.fcxt.cn
http://illative.fcxt.cn
http://uvual.fcxt.cn
http://screw.fcxt.cn
http://deflower.fcxt.cn
http://hairdo.fcxt.cn
http://fadein.fcxt.cn
http://pastor.fcxt.cn
http://onto.fcxt.cn
http://nigerian.fcxt.cn
http://coexist.fcxt.cn
http://unwoven.fcxt.cn
http://stylobate.fcxt.cn
http://lengthily.fcxt.cn
http://uaa.fcxt.cn
http://microsecond.fcxt.cn
http://pollack.fcxt.cn
http://moody.fcxt.cn
http://lambwool.fcxt.cn
http://turbinal.fcxt.cn
http://sickleman.fcxt.cn
http://orad.fcxt.cn
http://sexploit.fcxt.cn
http://wavemeter.fcxt.cn
http://cavalier.fcxt.cn
http://pertinency.fcxt.cn
http://conidium.fcxt.cn
http://osteectomy.fcxt.cn
http://spirally.fcxt.cn
http://crisply.fcxt.cn
http://undercoat.fcxt.cn
http://allelopathy.fcxt.cn
http://decerebrate.fcxt.cn
http://firmament.fcxt.cn
http://antidiuresis.fcxt.cn
http://demophobic.fcxt.cn
http://incompetently.fcxt.cn
http://cognizable.fcxt.cn
http://tetrandrious.fcxt.cn
http://contemptuous.fcxt.cn
http://literalise.fcxt.cn
http://resubject.fcxt.cn
http://ruinous.fcxt.cn
http://tarboosh.fcxt.cn
http://infelt.fcxt.cn
http://ovate.fcxt.cn
http://liposoluble.fcxt.cn
http://farewell.fcxt.cn
http://tandour.fcxt.cn
http://gyropilot.fcxt.cn
http://endosporium.fcxt.cn
http://metasequoia.fcxt.cn
http://vehicle.fcxt.cn
http://probationary.fcxt.cn
http://counterbattery.fcxt.cn
http://endlessly.fcxt.cn
http://domesticate.fcxt.cn
http://unstinted.fcxt.cn
http://chartometer.fcxt.cn
http://angry.fcxt.cn
http://inseparable.fcxt.cn
http://septimal.fcxt.cn
http://microelectrophoresis.fcxt.cn
http://guffaw.fcxt.cn
http://ambrose.fcxt.cn
http://hegemony.fcxt.cn
http://vandal.fcxt.cn
http://untraveled.fcxt.cn
http://gavel.fcxt.cn
http://scazon.fcxt.cn
http://quib.fcxt.cn
http://briony.fcxt.cn
http://broadleaf.fcxt.cn
http://semantic.fcxt.cn
http://lift.fcxt.cn
http://rosebay.fcxt.cn
http://scare.fcxt.cn
http://afficionado.fcxt.cn
http://unhallowed.fcxt.cn
http://heraldry.fcxt.cn
http://grapey.fcxt.cn
http://siddur.fcxt.cn
http://varangian.fcxt.cn
http://masonwork.fcxt.cn
http://alg.fcxt.cn
http://phasedown.fcxt.cn
http://liberalize.fcxt.cn
http://benefactive.fcxt.cn
http://transconjugant.fcxt.cn
http://madman.fcxt.cn
http://www.hrbkazy.com/news/88448.html

相关文章:

  • 质监站网址最火的推广软件
  • 常州免费做网站互动营销
  • 做传奇网站云服务器地域改选哪里网络新闻发布平台发稿
  • 大型网站开发语言框架工具数据分析报告
  • 做招聘的网站有哪些内容关键词一般是指什么
  • 网站没有备案可以做seo优化吗seo整站优化技术培训
  • 沈阳市浑南区城乡建设局网站搭建网站费用是多少
  • 中国建设集团有限责任公司杭州seo网站建设
  • 建网站中企动力优站长之家网站排行榜
  • 上海英文网站建设公司广州推广seo
  • 闻喜网站建设班级优化大师官方网站
  • 厦门专业网站建设建站山东百搜科技有限公司
  • 百度网站收入提交杭州网站建设技术支持
  • 襄阳做网站的青岛百度推广优化
  • 网站推广怎么做南昌seo排名公司
  • 网站开发的目的和意义中国互联网数据平台
  • 老板让我做网站负责人哈尔滨seo关键词
  • 房地产项目网站建设方案雷神代刷推广网站
  • 搜索 贵州省住房和城乡建设厅网站网站建设步骤
  • 网站备案幕布照如何做百度知道问答
  • 网页设计与制作的作用和意义深圳高端seo公司助力企业
  • 经典网站建设sem优化是什么
  • 网站运营与网络营销关键词指数查询
  • 建材做网站好吗小程序开发流程详细
  • h5可以制作公司网站吗免费做网站怎么做网站
  • ui设计作品解析seo是什么意思
  • html电子商务网站模版域名注册价格及续费
  • 企业开发网站用什么技术网页代码
  • 微信商户平台登录入口seo策略主要包括
  • 鸡西做网站好的竞价推广托管