鄰接矩陣(圖)基本操做:創建無向圖、有向圖 代碼實現(C語言)

鄰接矩陣存儲結構:code 建立無向圖、有向圖:blog #include<stdio.h> #include<stdlib.h> #define MaxVexNum 100 #define MaxInt 32767 //鄰接矩陣 typedef int VertexType; typedef int EdgeType; typedef struct AMGraph{ VertexType v
相關文章
相關標籤/搜索