📄 scoped_flooding.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 + -