Kruskal's Algorithm in C++

2019-05-22 12:12发布

问题:

I am looking for C++ Kruskal implementations to benchmark against my own... If you know a few good ones, please share!

回答1:

There's boost::kruskal_minimum_spanning_tree. Prim's algorithm is there too if you want to compare against that.