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

哪家公司建网站好淘宝网站建设可行性分析

哪家公司建网站好,淘宝网站建设可行性分析,长沙网红打卡景点,wordpress软件站主题目录 💥1 概述 📚2 运行结果 🎉3 参考文献 👨‍💻4 Matlab代码 💥1 概述 A*(念做:A Star)算法是一种很常用的路径查找和图形遍历算法。它有较好的性能和准确度。本文…

    目录

💥1 概述

📚2 运行结果

🎉3 参考文献

👨‍💻4 Matlab代码

💥1 概述

A*(念做:A Star)算法是一种很常用的路径查找和图形遍历算法。它有较好的性能和准确度。本文使用 A* 搜索算法来优化无线传感器节点网络的平均电池寿命。​​

📚2 运行结果

主函数部分代码:

close all;
clear;
clc;
%-------------------------------
%Number of Nodes in the fieldn=200;
%n=input('Enter the number of nodes in the space : '); 
%Energy Model (all values in Joules)
%Initial Energy 
Eo=0.1;
%Eo=input('Enter the initial energy of sensor nJ : ');
%Field Dimensions - x and y maximum (in meters)
% xm=input('Enter x value for area plot : ');
% ym=input('Enter y value for area plot : ');  
xm=100;
ym=100;
​
%x and y Coordinates of the Sink
sink.x=1.5*xm;
sink.y=0.5*ym;
​
%Optimal Election Probability of a node
%to become cluster head
p=0.2;
​
%Eelec=Etx=Erx
ETX=50*0.000000001;
ERX=50*0.000000001;
%Transmit Amplifier types
Efs=10*0.000000000001;
Emp=0.0013*0.000000000001;
%Data Aggregation Energy
EDA=5*0.000000001;
​
%Values for Hetereogeneity
%Percentage of nodes than are advanced
m=0.5;
%\alpha
a=1;
​
%maximum number of rounds
%rmax=input('enter the number of iterations you want to run : '); 
rmax=200;
%------------------
​
%Computation of do
do=sqrt(Efs/Emp);
​
%Creation of the random Sensor Network
figure(1);
hold off;
for i=1:1:nS(i).xd=rand(1,1)*xm;XR(i)=S(i).xd;S(i).yd=rand(1,1)*ym;YR(i)=S(i).yd;S(i).G=0;%initially there are no cluster heads only nodesS(i).type='N';temp_rnd0=i;%Random Election of Normal Nodesif (temp_rnd0>=m*n+1) S(i).E=Eo;S(i).ENERGY=0;plot(S(i).xd,S(i).yd,'o-r');hold on;end%Random Election of Advanced Nodesif (temp_rnd0<m*n+1)  S(i).E=Eo*(1+a);S(i).ENERGY=1;plot(S(i).xd,S(i).yd,'+');hold on;end
end
​
S(n+1).xd=sink.x;
S(n+1).yd=sink.y;
plot(S(n+1).xd,S(n+1).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
countCHs=0;
%counter for CHs per round
rcountCHs=0;
cluster=1;
​
countCHs;
rcountCHs=rcountCHs+countCHs;
flag_first_dead=0;
​
for r=0:1:rmaxr;
​%Operation for epochif(mod(r, round(1/p) )==0)for i=1:1:nS(i).G=0;S(i).cl=0;endend

🎉3 参考文献

[1]梁艺凡,谭丽,冯挺.A~*进路搜索算法的研究与实现[J].铁道标准设计,2013,No.613(02):117-119+127.

部分理论引用网络文献,若有侵权联系博主删除。

http://www.yayakq.cn/news/716813/

相关文章:

  • 浙江网站建设推广公司哪家好中和seo公司
  • 资阳网站优化金华建设技工学校网站
  • 华北建设集团有限公司oa网站网页制作中的网站维护
  • 秦淮区建设局网站wordpress多主题投票
  • 大型网站开发案例通用集团网站模板
  • 北京网站建设付款方式网站设计导航栏高度
  • 设计网站栏目网页设计免费素材
  • 网站做营利性广告需要什么备案私人承包小工程哪里有
  • 专业网站建设咨企业网站建设工作总结
  • 网站开发设计思路网站建设亿玛酷技术
  • 保定市住房和城乡建设局网站怎么修改wordpress目录名字
  • 做数据表格的网站wordpress 商品导航菜单
  • 聊城网站建设培训班高端设计网站都有哪些
  • 网站 安全 维护企业 手机网站
  • 药材网网站技术建设和田做网站的联系电话
  • 旅游目的地门户网站如何建设网站空间怎么做
  • 网站建设备案多长时间今天重庆发生大新闻
  • 天津网站建设服务电话网站建设中 单页
  • 德国 网站后缀有没有高质量的网站都懂的
  • 福州网站seo网站当地备案
  • 建设行业个人云网站聊城网站制作
  • 统计局网站群建设方案dw网站的滑屏怎么做
  • uo建设网站成品网站好吗
  • 帝国cms 网站地址设置主机屋 大网站
  • 上海企业建站网站的意义南昌做网站多少钱
  • 做猎头可以在哪些网站注册wordpress 微信内登录
  • 做阿里巴巴网站有什么用河南建设教育协会网站
  • 网站的反链怎么做安卓中文开发工具
  • 缅甸网站网站代理怎么做wordpress读取新闻
  • 梦织网站传奇网站免费空间