C#:实现Prims求最小生成树MST
以下是一个C# Prim算法的示例:
using System;
using System.Collections.Generic;
class PrimAlgorithm {
private int V;
private List
using System;
using System.Collections.Generic;
class PrimAlgorithm {
private int V;
private List