store path of minimum spanning tree
1 view (last 30 days)
Show older comments
sibabalo noludwwe
on 1 Aug 2019
Commented: sibabalo noludwwe
on 7 Aug 2019
hi,
i a 14 node system and i want minimum spanning tree from one node to some of the nodes but not all the nodes. at the moment am able to get minimum spanning tree of all the nodes. also is possible to get a full path from one node to the other node instead of the predecessor table?
thanks
0 Comments
Accepted Answer
Steven Lord
on 1 Aug 2019
Use the shortestpath or shortestpathtree functions for graph and digraph objects.
9 Comments
More Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!