1. 首页
  2. 课程学习
  3. C++/C
  4. 假设图中数据元素类型是字符型,请采用邻接矩阵或邻接表实现图的以下基本操作: (1)构造图(包括有向图、有向网、无向图、无向网); (2)根据深度优先遍历图。

假设图中数据元素类型是字符型,请采用邻接矩阵或邻接表实现图的以下基本操作: (1)构造图(包括有向图、有向网、无向图、无向网); (2)根据深度优先遍历图。

上传者: 2019-06-28 07:23:38上传 DOC文件 117.11KB 热度 63次
Assuming that the data element type in the graph is a character type, use the adjacency matrix or adjacency table to implement the following basic operations of the graph: (1) Construction graph (including directed graph, directed mesh, undirected graph, undirected mesh); ) traverse the graph according to depth first.
下载地址
用户评论