
邻接矩阵
qq_2423338532
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
图的邻接矩阵
/* 图的邻接矩阵表示法 */#include<stdio.h>#include<stdlib.h>#define MaxVertexNum 100 /* 最大顶点数设为100 */#define INFINITY 65535 /* ∞设为双字节无符号整数的最大值65535*/typedef int Vertex; /* 用顶点...原创 2018-12-18 11:21:52 · 225 阅读 · 0 评论 -
实验五 - 图的邻接矩阵表示法 + DFS
/* 图的邻接矩阵表示法 + DFS*/#include<stdio.h>#include<stdlib.h>#define MaxVertexNum 10 /* 最大顶点数设为100 */#define INFINITY 65535 /* ∞设为双字节无符号整数的最大值65535*/typedef int Vertex; /*...原创 2018-12-18 17:30:42 · 329 阅读 · 0 评论