摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace AdjacencyList{ public class AdjacencyList<T> { List<Vertex<T>> items;//图的顶点集合 public AdjacencyList():this(10){}//构造方法 public AdjacencyList(int capacity)//按指定的容量进行构造 { ... 阅读全文