Find the minimum spanning tree weight using Prim's algorithm. Uses a priority queue (min-heap) for efficient O((V+E) log V) performance. Args: graph: The graph to find the MST for. Returns: The total weight of the minimum spanning tree.
(graph: Graph)
source not stored for this graph (policy: none)