java實現圖的構造(鄰接矩陣表示),圖的深度優先、廣度優先遍歷,圖的最小生成樹

  構造圖結構(鄰接矩陣表示&圖的深度優先和廣度優先遍歷&圖的最小生成樹(prim算法) public class AbstractGraph<T>{ protected static final int MAX_WEIGHT=0x0000fff; protected SeqList<T>vertexlist; public AbstractGraph(int length){ this.ver
相關文章
相關標籤/搜索