⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scoped_flooding.m

📁 best routing protocol
💻 M
字号:
function [found, bd_nodes]=scoped_flooding(start_node, range, ...					   neighbor_hops, dest)%[optimal_dist optimal_nexthop] = allpair_dijkstra(neighbor_dist, ...%						  start_node, 0, '');optimal_dist = dijkstra(neighbor_hops,start_node);bd_nodes = find(optimal_dist<range);bd_nodes = bd_nodes';found = optimal_dist(dest)<=range;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -