圖的廣度優先搜索(BFS)

把以前寫過的圖的廣度優先搜索分享給大家(C語言版) 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define MAX_VERTEX_NUM 20 4 #define MAXQSIZE 100 5 #define OK 1 6 typedef char VertexType; 7 typedef int QElemType;
相關文章
相關標籤/搜索