Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Code for find the MST using Kruskal or Prims algorithm.

1 Ansicht (letzte 30 Tage)
priyanka
priyanka am 26 Jul. 2014
Geschlossen: John D'Errico am 5 Okt. 2014
code to find the Minimum spanning tree using kruskal or prims algorithm.

Antworten (1)

Matz Johansson Bergström
Matz Johansson Bergström am 26 Jul. 2014
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 Kommentar
annie13
annie13 am 5 Okt. 2014
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-

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by