|
|
вернуться в форумwhich MST algo do you prefer well, i like prim better Re: which MST algo do you prefer I prefer prim,too. Re: which MST algo do you prefer imho cruscal... =) Re: which MST algo do you prefer I think, that this problem can be solved without MST. Just use binary search by maximum of single cable length and check accessibility of every node of graph. NlogM :) Re: which MST algo do you prefer I like Kruskal's algo, as it is easy to implement it using disjoint set systems with O(n*logn) running time. Re: which MST algo do you prefer Послано hoan 25 ноя 2010 21:14 i think prim is better |
|
|