Spanning tree gui
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.
Zitieren als
Maxim Vedenyov (2024). Spanning tree gui (https://www.mathworks.com/matlabcentral/fileexchange/29886-spanning-tree-gui), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |