function [ TreeMatric,Cost ] =  DirectedMinimalSpanningTree( OriginalCostMatric,Root )

    MaxTree =  DirectedMaximumSpanningTree( -OriginalCostMatric,Root );
    TreeMatric = -MaxTree;
    Cost = sum(sum(TreeMatric));
    
end
Sable
github-repos/MATLAB/Sable-mcbench-benchmarks/mcbench-benchmarks-ba13b2f0296ef49491b95e3f984c7c41fccdb6d8/24327-maximumminimum-weight-spanning-tree-directed/DirectedSpanningTree/DirectedMinimalSpanningTree.m
mcbench-benchmarks
github-repos/MATLAB/Sable-mcbench-benchmarks
ba13b2f0296ef49491b95e3f984c7c41fccdb6d8