Minimum-spanning-tree using Prim's Algorithm (Graph Theory) Prim's algorithm to find minimum spanning tree, implemented in Java.