文件名称:adjacency matrix to represent the graph
介绍说明--下载内容来自于网络,使用问题请自行百度
(1)使用邻接矩阵表示图,定义相应的抽象数据类型。
(2)实现两个图ADTs的上述函数。
(3)从空图开始,生成图形对象表示图1所示的图形,将顶点和边逐一插入。
(4)以BFS方式遍历图。((1) Use adjacency matrix to represent graphs and define the corresponding abstract data type.
(2) Realize all the above functions for the two graph ADTs.
(3) Starting from an empty graph, generate a graph object represent the graph shown in Fig. 1 by inserting the vertices and edges one by one.
(4) Traverse the graph in BFS manner.)
(2)实现两个图ADTs的上述函数。
(3)从空图开始,生成图形对象表示图1所示的图形,将顶点和边逐一插入。
(4)以BFS方式遍历图。((1) Use adjacency matrix to represent graphs and define the corresponding abstract data type.
(2) Realize all the above functions for the two graph ADTs.
(3) Starting from an empty graph, generate a graph object represent the graph shown in Fig. 1 by inserting the vertices and edges one by one.
(4) Traverse the graph in BFS manner.)
相关搜索: adjacency matrix
graph
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
The method using adjacency matrix to represent graphs.docx | 15962 | 2018-04-17 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.