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

腾讯云 门户网站建设贵州做网站的

腾讯云 门户网站建设,贵州做网站的,网站建设应遵守的原则,京东网站的建设目的目录 #x1f4a5;1 概述 #x1f4da;2 运行结果 #x1f389;3 参考文献 #x1f468;‍#x1f4bb;4 Matlab代码 #x1f4a5;1 概述 A*#xff08;念做#xff1a;A Star#xff09;算法是一种很常用的路径查找和图形遍历算法。它有较好的性能和准确度。本文…    目录 1 概述 2 运行结果 3 参考文献 ‍4 Matlab代码 1 概述 A*念做A Star算法是一种很常用的路径查找和图形遍历算法。它有较好的性能和准确度。本文使用 A* 搜索算法来优化无线传感器节点网络的平均电池寿命。​​ 2 运行结果 主函数部分代码 close all; clear; clc; %------------------------------- %Number of Nodes in the fieldn200; %ninput(Enter the number of nodes in the space : ); %Energy Model (all values in Joules) %Initial Energy Eo0.1; %Eoinput(Enter the initial energy of sensor nJ : ); %Field Dimensions - x and y maximum (in meters) % xminput(Enter x value for area plot : ); % yminput(Enter y value for area plot : ); xm100; ym100; ​ %x and y Coordinates of the Sink sink.x1.5*xm; sink.y0.5*ym; ​ %Optimal Election Probability of a node %to become cluster head p0.2; ​ %EelecEtxErx ETX50*0.000000001; ERX50*0.000000001; %Transmit Amplifier types Efs10*0.000000000001; Emp0.0013*0.000000000001; %Data Aggregation Energy EDA5*0.000000001; ​ %Values for Hetereogeneity %Percentage of nodes than are advanced m0.5; %\alpha a1; ​ %maximum number of rounds %rmaxinput(enter the number of iterations you want to run : ); rmax200; %------------------ ​ %Computation of do dosqrt(Efs/Emp); ​ %Creation of the random Sensor Network figure(1); hold off; for i1:1:nS(i).xdrand(1,1)*xm;XR(i)S(i).xd;S(i).ydrand(1,1)*ym;YR(i)S(i).yd;S(i).G0;%initially there are no cluster heads only nodesS(i).typeN;temp_rnd0i;%Random Election of Normal Nodesif (temp_rnd0m*n1) S(i).EEo;S(i).ENERGY0;plot(S(i).xd,S(i).yd,o-r);hold on;end%Random Election of Advanced Nodesif (temp_rnd0m*n1) S(i).EEo*(1a);S(i).ENERGY1;plot(S(i).xd,S(i).yd,);hold on;end end ​ S(n1).xdsink.x; S(n1).ydsink.y; plot(S(n1).xd,S(n1).yd,o, MarkerSize, 12, MarkerFaceColor, r); figure(1); % figure(1) % plot(o1,o2,^,LineWidth,1, MarkerEdgeColor,k, MarkerFaceColor,y, MarkerSize,12); % hold on %First Iteration %counter for CHs countCHs0; %counter for CHs per round rcountCHs0; cluster1; ​ countCHs; rcountCHsrcountCHscountCHs; flag_first_dead0; ​ for r0:1:rmaxr; ​%Operation for epochif(mod(r, round(1/p) )0)for i1:1:nS(i).G0;S(i).cl0;endend 3 参考文献 [1]梁艺凡,谭丽,冯挺.A~*进路搜索算法的研究与实现[J].铁道标准设计,2013,No.613(02):117-119127. 部分理论引用网络文献若有侵权联系博主删除。
http://www.hkea.cn/news/14398341/

相关文章:

  • 怎么做网站诊断分析百度一下百度搜索官网
  • 建设网站的法律声明网站运营总监
  • 同一ip网站seo综合查询工具可以查看哪些数据
  • 网站网页设计基本理论wordpress自定义顶部
  • 做试卷挣钱的网站东莞品牌整合营销
  • 推荐十个国外网站建网站需不需要服务器
  • 江苏建设工程招标网和淮安市公共资源交易网seo营销专员
  • 杭州手机网站wordpress站点如何加速
  • 做马甲的网站做数学题的网站有吗
  • 建一个网站需要哪些费用网站设计网页设计公司
  • 辽宁建设工程信息网业绩录入潍坊网站seo外包
  • 珠海建站公司成都网页设计多少钱
  • 网站开发开发语言怎样做国外网站
  • 个人免费建站的网站建筑企业设计公司
  • 就是做网站的.....龙岗互联网公司
  • 广州黄浦区建设局网站模板建站平台
  • 制作网站如何选择主机平面设计软件免费
  • 家装网站建设哪家好点vue企业门户网站模板
  • 西部建设网站网站地址英文
  • 名字做头诗的网站网站规划建设论文
  • 茂名做网站公司学校网站php源码|班级主页教师博客学生博客|学校网站织梦仿
  • 怎么做电影流量网站吗推广黄冈软件必备软件
  • 如何免费做公司网站免费注册网站的平台
  • 怎么推广我的网站吗关键词排名哪里查
  • 宁波网站优化公司价格网站打不开原因
  • 都安网站建设如何做能上传视频网站
  • 产品网站开发流程图用ps做网站导航
  • 做网站公司 备案公司宣传册设计样本
  • 我想学网站建设网站怎么推广
  • 网站流量共享wordpress搭建网盘