6.2.1邻接表示法
#include stdio.h #include cmath #define MaxVertexNum 100 #define INF INFINITY typedef char VertexType; typedef int EdgeType; typedef struct{ VertexType Vex[MaxVertexNum]; EdgeType Edge[MaxVertexNum][MaxVertexNum]; int vexnum,arcnum; }Mgraph;
上一篇/下一篇内容由系统自动关联
返回资讯列表 →