Feeds
提问
I'am trying to find minimum cost spanning tree by using Kruskal's algorithm and get these errors
s = [1 1 1 2 5 3 6 4 7 8 8 8]; t = [2 3 4 5 3 6 4 7 2 6 7 5]; weights = [100 10 10 10 10 20 10 30 50 10 70 10]; G = graph(s,t...
4 years 前 | 1 个回答 | 0
