Spanning tree gui

版本 1.0.0.0 (11.0 KB) 作者: Maxim Vedenyov
spanning tree for randomized nodes with range.
1.7K 次下载
更新时间 2011/1/2

查看许可证

http://simulations.narod.ru/
N nodes randomly distributed in a x a square. Nodes has range R. If distance between two nodes less then R then this nodes connected. So we have graph. from specified node s spanning tree is generated. Breadth-first search used. It is possible to set N a R, randomize nodes, show/hide objects.

See the GUI in work:
http://www.youtube.com/watch?v=lquQv1iA6e4

Run main.m to start.

Main processing is in randomize_clb.m. Code in randomize_clb.m well commented.

引用格式

Maxim Vedenyov (2024). Spanning tree gui (https://www.mathworks.com/matlabcentral/fileexchange/29886-spanning-tree-gui), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0