Finding a minimum spanning tree on a directed graph

21,945

The equivalent of a minimum spanning tree in a directed graph is called an optimum branching or a minimum-cost arborescence. The classical algorithm for solving this problem is the Chu-Liu/Edmonds algorithm. There have been several optimized implementations of this algorithm over the years using better data structures; the best one that I know of uses a Fibonacci heap and runs in time O(m + n log n) and is due to Galil et al.

Hope this helps!

Share:
21,945

Related videos on Youtube

user3347255
Author by

user3347255

Updated on July 18, 2022

Comments

  • user3347255
    user3347255 almost 2 years

    What algorithm can I use to find a minimum spanning tree on a directed graph? I tried using a modification of Prim's algorithm, but wasn't able to make it work.

    • Ian R. O'Brien
      Ian R. O'Brien over 10 years
      What steps do you need to take to calculate this value?
    • Alejandro
      Alejandro over 10 years
      Does Kruskal's count as a modified Prim's?
    • user3347255
      user3347255 over 10 years
      I was able to solve it. thank you!
    • Nikunj Banka
      Nikunj Banka over 10 years
      MST for a directed graph is a different problem. It is the Minimum Cost Arborescence Problem.
  • Jordan
    Jordan almost 6 years
    anyone happen to know of an implementation of this? I've found limited implementations of the Chu-Liu/Edmonds algorithm, but nothing for the algorithm by Galil et al.