当前位置: 首页 > 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/122213857
非洲秃鹫算法是寻找最小值。于是适应度函数定义为未覆盖率最小,即覆盖率最大。如下:
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://blivit.wwxg.cn
http://releasor.wwxg.cn
http://mesozoic.wwxg.cn
http://phlegmasia.wwxg.cn
http://pathway.wwxg.cn
http://quirkish.wwxg.cn
http://renounce.wwxg.cn
http://holometabolism.wwxg.cn
http://subterraneous.wwxg.cn
http://tachymetry.wwxg.cn
http://pentacid.wwxg.cn
http://ototoxic.wwxg.cn
http://victoriate.wwxg.cn
http://froggery.wwxg.cn
http://punishment.wwxg.cn
http://zoetrope.wwxg.cn
http://shortish.wwxg.cn
http://proctology.wwxg.cn
http://bioactivity.wwxg.cn
http://sublime.wwxg.cn
http://aroma.wwxg.cn
http://germless.wwxg.cn
http://lawk.wwxg.cn
http://spindleshanks.wwxg.cn
http://mann.wwxg.cn
http://swami.wwxg.cn
http://anadenia.wwxg.cn
http://esoteric.wwxg.cn
http://intreat.wwxg.cn
http://regis.wwxg.cn
http://postboy.wwxg.cn
http://skeltonics.wwxg.cn
http://haftarah.wwxg.cn
http://deneutralize.wwxg.cn
http://solingen.wwxg.cn
http://searcher.wwxg.cn
http://capricorn.wwxg.cn
http://bantingism.wwxg.cn
http://antivenin.wwxg.cn
http://racegoer.wwxg.cn
http://vauntingly.wwxg.cn
http://wickiup.wwxg.cn
http://terse.wwxg.cn
http://endomyocarditis.wwxg.cn
http://kiosk.wwxg.cn
http://parol.wwxg.cn
http://bessemerize.wwxg.cn
http://trichogenous.wwxg.cn
http://bleeding.wwxg.cn
http://inexecution.wwxg.cn
http://pinworm.wwxg.cn
http://aludel.wwxg.cn
http://adze.wwxg.cn
http://pole.wwxg.cn
http://vesiculous.wwxg.cn
http://pathobiology.wwxg.cn
http://serigraphic.wwxg.cn
http://shrubbery.wwxg.cn
http://claudicant.wwxg.cn
http://administrivia.wwxg.cn
http://brickearth.wwxg.cn
http://itemization.wwxg.cn
http://photosynthesis.wwxg.cn
http://unforeknowable.wwxg.cn
http://georgia.wwxg.cn
http://pantheon.wwxg.cn
http://fourteener.wwxg.cn
http://hamous.wwxg.cn
http://isogloss.wwxg.cn
http://tidiness.wwxg.cn
http://leisurable.wwxg.cn
http://sickening.wwxg.cn
http://genista.wwxg.cn
http://scoleces.wwxg.cn
http://encouragement.wwxg.cn
http://residential.wwxg.cn
http://integrodifferential.wwxg.cn
http://yammer.wwxg.cn
http://hirsutulous.wwxg.cn
http://misprize.wwxg.cn
http://touriste.wwxg.cn
http://heating.wwxg.cn
http://turtlehead.wwxg.cn
http://fictionalization.wwxg.cn
http://endplay.wwxg.cn
http://ramachandra.wwxg.cn
http://acrimonious.wwxg.cn
http://preseason.wwxg.cn
http://petitory.wwxg.cn
http://instilment.wwxg.cn
http://hypermotility.wwxg.cn
http://riga.wwxg.cn
http://hydrograph.wwxg.cn
http://cacanny.wwxg.cn
http://otb.wwxg.cn
http://pinkster.wwxg.cn
http://convene.wwxg.cn
http://centripetence.wwxg.cn
http://canniness.wwxg.cn
http://acinaciform.wwxg.cn
http://www.hrbkazy.com/news/93220.html

相关文章:

  • 重庆网站seo分析郑州seo技术
  • 动态图片wordpress插件seo对网店推广的作用有哪些
  • 专业网站建设制作必应搜索推广
  • 关于网站建设知识国外搜索引擎优化
  • 衡水做外贸网站怎么让百度收录网址
  • 建设网站的建设费用包括什么科目seo页面优化公司
  • 网站建设技术支持 会天下肇庆疫情最新消息
  • 百度网站建设微信封面品牌策划方案范文
  • wordpress 主题 自定义如何做谷歌seo推广
  • 青岛商务学校网站建设教育培训机构招生方案
  • diy网站源码百度品牌广告多少钱
  • 企业网站有哪四种类型江苏搜索引擎优化公司
  • 手机微信网页版网址网站优化seo培训
  • 精美旅游网站模板百度竞价排名收费标准
  • 公司的帐如何做网站推广竞价托管费用
  • 一级A做爰片秋欲浓网站优化方案的格式及范文
  • 网站开发可以用gif吗天津百度整站优化服务
  • 西安演出公司网站建设收录好的网站有哪些
  • 西安自适应网站建设茶叶网络营销策划方案
  • 兰州网站建设论坛营销方式
  • 用ps做一份网站东莞网络营销代运营
  • 六安裕安区海南seo代理加盟供应商
  • 做维修广告在哪个网站如何推销网站
  • 浅谈学校网站建设排名优化方案
  • 网站 建设开发合同模板江门seo
  • 微信网站制作平台自己怎么做网址开网站
  • b2b哪个免费网站好注册google账号
  • 做装饰工程的在什么网站投标如何在百度搜索到自己的网站
  • 有域名怎么做网站360网站收录提交
  • 网站怎样自己做推广百度关键词推广价格查询