Description: 图可以采用邻接矩阵、邻接表等多种方式来存储,本程序实现图的邻接矩阵存储-Chart can be used adjacency matrix, adjacency lists to store a variety of ways, this program graph adjacency matrix storage Platform: |
Size: 1024 |
Author:youjing |
Hits:
Description: This code do depth first search algorithm. Adjacency matrix symbolize every edge in the graph, for example adj[i][j]=1 is an edge from i to j, i and j are vertices. Platform: |
Size: 1024 |
Author:Dennis |
Hits: