数据结构实验 Prim最小生成树
#include
#include
#include
#defineINFINITYINT_MAX
#defineMAX_VERTEX_NUM20//最大顶点数为20//
typedefintVRType;
typedefintInfoType;
typedefcharVerTexType;
typedefstructArcCell//邻接矩阵定义//
{VRTypeadj;
InfoType*info;}ArcCell,AdjMatrix[MAX_VERTEX_NUM]
下载地址
用户评论