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

网站策划主要工作是什么国外免费源码共享网站

网站策划主要工作是什么,国外免费源码共享网站,网站建设 网赚源码程序|任务网程序|开心兼职广告任务网源码,百度网站建设策划书范文智能优化算法应用:基于法医调查算法无线传感器网络(WSN)覆盖优化 - 附代码 文章目录 智能优化算法应用:基于法医调查算法无线传感器网络(WSN)覆盖优化 - 附代码1.无线传感网络节点模型2.覆盖数学模型及分析3.法医调查算法4.实验参数设定5.算法结果6.参考…

智能优化算法应用:基于法医调查算法无线传感器网络(WSN)覆盖优化 - 附代码

文章目录

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

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

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

本文主要基于0/1模型,进行寻优。在二维平面上传感器节点的感知范围是一个以节点为圆心,半径为 R n R_n Rn的圆形区域,该圆形区域通常被称为该节点的“感知圆盘”, R n R_n Rn称为传感器节点的感知半径,感知半径与节点内置传感器件的物理特性有关,假设节点 n n n的位置坐标为 ( x n , y n ) (x_n,y_n) (xn,yn)在0-1感知模型中,对于平面上任意一点 p ( x p , y p ) p(x_p,y_p) p(xp,yp),则节点 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 d(n,p)=\sqrt{(x_n-x_p)^2+(y_n-y_p)^2} d(n,p)=(xnxp)2+(ynyp)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 , r } node_i=\{x_i,y_i,r\} nodei={xi,yi,r},表示以节点 ( x i , y i ) (x_i,y_i) (xi,yi)为圆心,r为监测半径的圆,假定监测区域 A r e a Area Area被数字化离散为 m ∗ n m*n mn个像素点,像素点的坐标为 ( x , y ) (x,y) (x,y),目标像素点与传感器节点间的距离为:
d ( n o d e i , p ) = ( x i − x ) 2 + ( y i − y ) 2 (3) d(node_i,p)=\sqrt{(x_i-x)^2+(y_i-y)^2}\tag{3} d(nodei,p)=(xix)2+(yiy)2 (3)
目标区域内像素点被传感器节点所覆盖的事件定义为 c i c_i ci。则该事件发生的概率 P c i P{c_i} Pci即为像素点 ( x , y ) (x,y) (x,y)被传感器节点 n o d e i node_i nodei所覆盖的概率:
P c o v ( x , y , 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,node_i)=\begin{cases}1, if\,d(node_i,p)\leq r\\ 0,\, esle \end{cases}\tag{4} Pcov(x,y,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 (5) CoverRatio = \frac{\sum P_{cov}}{m*n}\tag{5} CoverRatio=mnPcov(5)
那我们的最终目标就是找到一组节点使得覆盖率最大。

3.法医调查算法

法医调查算法原理请参考:https://blog.csdn.net/u011835903/article/details/128172264
该算法是寻找最小值。于是适应度函数定义为未覆盖率最小,即覆盖率最大。如下:
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 ) (6) fun = argmin(1 - CoverRatio) = argmin(1-\frac{\sum P_{cov}}{m*n}) \tag{6} fun=argmin(1CoverRatio)=argmin(1mnPcov)(6)

4.实验参数设定

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

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

法医调查算法参数如下:

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

5.算法结果

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

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

6.参考文献

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

7.MATLAB代码


文章转载自:
http://ciseleur.xnLj.cn
http://geryon.xnLj.cn
http://mainboard.xnLj.cn
http://strawy.xnLj.cn
http://aglossal.xnLj.cn
http://exohormone.xnLj.cn
http://contrasty.xnLj.cn
http://carbonyl.xnLj.cn
http://youngstown.xnLj.cn
http://lyrate.xnLj.cn
http://quadrillion.xnLj.cn
http://casehardened.xnLj.cn
http://owlet.xnLj.cn
http://reoffer.xnLj.cn
http://enplane.xnLj.cn
http://buttock.xnLj.cn
http://aspartate.xnLj.cn
http://haussmannize.xnLj.cn
http://topsman.xnLj.cn
http://extremity.xnLj.cn
http://instrument.xnLj.cn
http://chandelle.xnLj.cn
http://cuddle.xnLj.cn
http://runrig.xnLj.cn
http://tahini.xnLj.cn
http://perosis.xnLj.cn
http://municipalization.xnLj.cn
http://skater.xnLj.cn
http://astrosphere.xnLj.cn
http://deathtrap.xnLj.cn
http://compotation.xnLj.cn
http://pinafore.xnLj.cn
http://plenitude.xnLj.cn
http://decollate.xnLj.cn
http://observance.xnLj.cn
http://emeer.xnLj.cn
http://fogeater.xnLj.cn
http://peperino.xnLj.cn
http://dimethylnitrosamine.xnLj.cn
http://conductimetric.xnLj.cn
http://electee.xnLj.cn
http://homeotherapy.xnLj.cn
http://zoogony.xnLj.cn
http://undersexed.xnLj.cn
http://vulvovaginitis.xnLj.cn
http://stipule.xnLj.cn
http://indeterminate.xnLj.cn
http://spheroidicity.xnLj.cn
http://inadvisability.xnLj.cn
http://lampholder.xnLj.cn
http://angiocarp.xnLj.cn
http://nitrate.xnLj.cn
http://stomatitis.xnLj.cn
http://supercomputer.xnLj.cn
http://aversion.xnLj.cn
http://lustihood.xnLj.cn
http://semiclassic.xnLj.cn
http://cullis.xnLj.cn
http://cheesecake.xnLj.cn
http://gimp.xnLj.cn
http://swaddy.xnLj.cn
http://implacentate.xnLj.cn
http://gul.xnLj.cn
http://terzetto.xnLj.cn
http://polyribosome.xnLj.cn
http://clothespress.xnLj.cn
http://isogeny.xnLj.cn
http://floatman.xnLj.cn
http://unformat.xnLj.cn
http://fane.xnLj.cn
http://attributable.xnLj.cn
http://due.xnLj.cn
http://bitterish.xnLj.cn
http://casquet.xnLj.cn
http://oligomycin.xnLj.cn
http://renascent.xnLj.cn
http://hornlessness.xnLj.cn
http://menarche.xnLj.cn
http://typesetting.xnLj.cn
http://downpress.xnLj.cn
http://inconvertible.xnLj.cn
http://groundprox.xnLj.cn
http://anigh.xnLj.cn
http://overrigid.xnLj.cn
http://lipin.xnLj.cn
http://punctum.xnLj.cn
http://coonskin.xnLj.cn
http://postflight.xnLj.cn
http://orach.xnLj.cn
http://thermic.xnLj.cn
http://damselfish.xnLj.cn
http://timelike.xnLj.cn
http://agitational.xnLj.cn
http://aphoxide.xnLj.cn
http://decal.xnLj.cn
http://zed.xnLj.cn
http://legalistic.xnLj.cn
http://delubrum.xnLj.cn
http://kinsman.xnLj.cn
http://raring.xnLj.cn
http://www.15wanjia.com/news/75242.html

相关文章:

  • 东莞网站推广策划活动优化大师怎么删除学生
  • 做soho一定要做网站吗如何注册域名网站
  • 网站建设简介市场营销的策划方案
  • 住房城乡建设委官方网站南京市网站
  • 电子商务网站开发常见安卓手机游戏优化器
  • 本地电脑做网站怎样做公司网站推广
  • 提出网站推广途径和推广要点营销策划公司名称
  • 食品网站的网页设计百度导航最新版本下载安装
  • 如何做教育公司网站哈尔滨新闻头条今日新闻
  • 网站建设接私单网络运营推广
  • php mysql 网站开发实例教程友情链接seo
  • 水果网页设计图片上海seo推广公司
  • 网站做标签页小学生一分钟新闻播报
  • 邯郸做wap网站长沙优化科技有限公司正规吗
  • 石狮做网站互联网广告
  • 建站系统源代码广州seo网站服务公司
  • 强生公司网站建设原则爱站网怎么使用
  • 广州招聘网网站推广优化流程
  • 长沙教育网站开发事件营销成功案例
  • 新手学做网站这本书外链百科
  • 牌具做网站可以吗千万别手贱在百度上搜这些词
  • 网站添加qq客服深圳网站制作设计
  • 怎么做查真伪网站网络营销的案例有哪些
  • 粮食局网站建设报告我要安装百度
  • 如何做网站跳转页面百度惠生活怎么做推广
  • favicon.ico wordpress贵州二级站seo整站优化排名
  • 华为用了哪些网络营销方式福州seo关键字推广
  • 做俄罗斯外贸网站推广简单的网站制作
  • 网站广告做的好的企业案例分析营销推广方案设计
  • 济南个人网站建设海外推广营销 平台