1. 首页
  2. 数据库
  3. 其它
  4. 图的邻接表存储表示示例讲解

图的邻接表存储表示示例讲解

上传者: 2020-12-30 08:51:55上传 PDF文件 60.59KB 热度 16次
代码如下://———图的邻接表存储表示——- #include#include #define MAX_VERTEXT_NUM 20 typedef int InfoType;typedef char VertextType; typedef struct ArcNode{ int adjvex; struct ArcNode *nextArc; InfoType *info;}ArcNode; typedef struct VNode{ VertextType data; ArcNode *firstArc;}VNode,
下载地址
用户评论