mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-02 05:07:13 +00:00
build
This commit is contained in:
@@ -1289,7 +1289,7 @@ comments: true
|
|||||||
class GraphAdjList
|
class GraphAdjList
|
||||||
{
|
{
|
||||||
// 邻接表,key: 顶点,value:该顶点的所有邻接顶点
|
// 邻接表,key: 顶点,value:该顶点的所有邻接顶点
|
||||||
Dictionary<Vertex, List<Vertex>> adjList;
|
public Dictionary<Vertex, List<Vertex>> adjList;
|
||||||
|
|
||||||
/* 构造函数 */
|
/* 构造函数 */
|
||||||
public GraphAdjList(Vertex[][] edges)
|
public GraphAdjList(Vertex[][] edges)
|
||||||
|
|||||||
Reference in New Issue
Block a user