Introduction - If you have any usage issues, please Google them yourself
algorithm prim, prim algorithm was first to find a root node, and then continue to generate the minimum spanning tree, so that we can find a minimum spanning tree, if that is the case, we can use a loop to each node when as root, then repeat the tree removed, so you can find all of the minimum spanning tr