This commit is contained in:
krahets 2023-03-09 02:39:45 +08:00
parent 048f52687f
commit 8b4ea94a65

View File

@ -1289,7 +1289,7 @@ comments: true
class GraphAdjList
{
// 邻接表key: 顶点value该顶点的所有邻接顶点
Dictionary<Vertex, List<Vertex>> adjList;
public Dictionary<Vertex, List<Vertex>> adjList;
/* 构造函数 */
public GraphAdjList(Vertex[][] edges)