Fix a comment in graph_adjacency_list

This commit is contained in:
krahets
2023-02-23 20:32:26 +08:00
parent 73c8920c6b
commit adbb12c011
6 changed files with 6 additions and 9 deletions

View File

@ -11,7 +11,7 @@ import include.*;
/* 基于邻接表实现的无向图类 */
class GraphAdjList {
// 邻接表key: 顶点value该顶点的所有邻接
// 邻接表key: 顶点value该顶点的所有邻接
Map<Vertex, List<Vertex>> adjList;
/* 构造方法 */