当前位置: 首页 > 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.w-s-a.com/news/893025/

相关文章:

  • 织梦的网站关键词如何自己搭建微信小程序
  • 怎么做基金公司网站韩都衣舍网站建设ppt
  • 外贸网站模板aspnet网站开发 视频
  • 上海植物租赁做网站南浔网站建设
  • 怎么做学校网站做兼职工作上哪个网站招聘
  • 软件下载网站哪个比较好杭州开发小程序
  • 做网站都用什么技术学做名片的网站
  • 备案网站忘记密码乐装网
  • 电商扶贫网站建设淄博网站建设小程序
  • 网站群建设代理丰城网站建设公司
  • 青岛网站建设服务器wordpress迁移跳转原网站
  • 泰安网站建设哪里有公司如何注册网站
  • 做网站开专票税钱是多少个点上海市有哪些公司
  • 寿县有做网站开发的吗宁波网站建设方式
  • 网站建设和网站推广服务器怎么发布网站
  • 比较好的摄影网站雅安市政建设公司网站
  • 网站与微信区别wordpress 站内信
  • 宁夏网站开发设计说明书源码下载脚本之家
  • 邱县做网站百度搜索排名机制
  • 运城个人网站建设智慧团建系统官方网站登录
  • 公司营业执照可以做几个网站一家专门做母婴的网站
  • 网站建设商标属于哪个类别搜狗seo快速排名公司
  • 织梦做商城网站企业网络建站
  • 网站后期维护都有什么wordpress首页加图片
  • 展会网站怎么做网页设计与制作教程版徐洪亮课后答案
  • 石景山网站建设设计公司建设网站怎么建立服务器
  • 本地生活服务平台app网站关键词优化原理
  • 建网站的公司叫什么重庆论坛建站模板
  • 湖北网站制作公司银川网站建设哪家不错
  • 网站后台演示地址服装网站建设公司推荐