2012年6月13日

Dijkstra算法 算法基础篇(三)

摘要: View Code 1 // Dijkstra算法.cpp : 定义控制台应用程序的入口点。 2 // 3 4 5 #include <stdio.h> 6 #include <stdlib.h> 7 #define NotAVertex (-1) 8 #define NumVertex 20 9 #define Infinity 1000 10 typedef int Vertex; 11 typedef int Arc; 12 typedef int DistType; 13 14 struct TableNode //表节点 15 { 16 ... 阅读全文

posted @ 2012-06-13 18:06 北冥茶花开 阅读(183) 评论(0) 推荐(0) 编辑

导航