PrimAlgorithm
代码说明:
最小生成树prim算法,Dandn文件给出了输入参数的名称及格式即在调用prim前先输入邻接矩阵D和节点个数n输入prim得到两行的矩阵T,将上下两行数字对应的节点相连即可(Prim algorithm for minimum spanning tree, Dandn document gives the name and format of the input parameters that is called prim before Input adjacency matrix D and the node number n input prim to be two lines of the matrix T, the upper and lower figures correspond to two lines of nodes connected to can)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!