Dijkstra算法求最短路径
摘要:
1 #include 2 #include 3 #include 4 #include 5 6 #pragma warning(disable:4996) 7 8 #define MAX_NAME 10 9 #define MAX_VERTEX_NUM 26 10 11 typedef char VertexType[MAX_NAME]; 12 typedef unsigned int AdjMatrix[MAX_VERTEX_NUM][MAX_VERTEX_NUM];//邻接距阵 13 14 struct MGraph//定义网 15 { 16 V... 阅读全文
posted @ 2013-06-27 19:28 郁郁思扬 阅读(477) 评论(0) 推荐(0) 编辑