Info

此问题已关闭。 请重新打开它进行编辑或回答。

Code for find the MST using Kruskal or Prims algorithm.

1 次查看(过去 30 天)
code to find the Minimum spanning tree using kruskal or prims algorithm.

回答(1 个)

Matz Johansson Bergström
Do you want the code or just a function that computes MST? For the function, see Bioinformatics toolbox documentation, for the actual implementation in Matlab, see MST using Kruskal at Matlab exchange.
  1 个评论
annie13
annie13 2014-10-5
I need both code and function for calculating MST using prim or kruskal when the number of vertices and their Topology ,distance and Location specifications are given......the details of topology,distance and location are attached herewithin-

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by