graph-toolkit
    Preparing search index...

    Function minimumSpanningArborescence

    • Minimum-weight spanning arborescence of a directed graph rooted at root (Chu–Liu/Edmonds, $O(V \cdot E)$): every other vertex gets exactly one incoming edge and is reachable from root. Returns undefined if some vertex is unreachable. Throws GraphError on undirected input.

      Parameters

      Returns Arborescence | undefined