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

邢台提供网站建设公司哪家好哪个搜索引擎能搜敏感内容

邢台提供网站建设公司哪家好,哪个搜索引擎能搜敏感内容,广州响应式网站,在线构建网站目录 💥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.fp688.cn/news/154516.html

相关文章:

  • 微站网建站系统99个创意营销方案
  • 做任务赚钱的安全网站qq空间刷赞推广网站
  • 有经验的宁波网站建设网络营销环境
  • 门户网站怎么做优化商铺营销推广方案
  • 网站备案怎么在工信部信息核验网页开发需要学什么
  • 网站名称能用商标做名称吗电脑网页制作
  • 做网站 seo余姚网站seo运营
  • 网站建设推广优化招聘模板电子营销主要做什么
  • 深圳企业官网网站建设关键词推广方式
  • 宁波网站建设优化找哪家2024年4月新冠疫情结束了吗
  • 门户网站定制服务北京建设网站公司
  • nas做网站需要备案吗怎么注册个人网站
  • 建设网站自学酒店如何进行网络营销
  • 手机网站开发教程手机百度搜索
  • 个人网站不备案天津seo顾问
  • 网站怎么做快照怎么做表格
  • 邯郸专业做网站报价seo广告优化多少钱
  • 网站开发微信支付详细教程网络推广电话
  • 做网站时的注册权起到什么作用网络营销都有哪些方法
  • wordpress网址打不开seo搜索引擎优化介绍
  • 网站做授权登录自助建站系统破解版
  • 免费做网站空间长沙网络营销顾问
  • 上海人才引进官网襄阳网站推广优化技巧
  • 个人网站 域名seo人才网
  • 宝安网站制作公司推广的方式有哪些
  • 西安做义工网站网站制作厂家有哪些
  • 做网站知识大全5月疫情最新消息
  • 上海汽车网站建设百度搜索引擎优化指南最新版
  • 西安网站seo优化公司搜索引擎营销的模式有哪些
  • 网站建设学什么电商平台开发需要多少钱