摘要: 好好找篇文章,不行自己思考总结。 阅读全文
posted @ 2009-09-15 14:40 maxweii 阅读(1002) 评论(0) 推荐(0)
摘要: /**********************迪杰斯特拉算法*********************************************/#include stdio.h #define INFINITY 10000 #define TRUE 1 #define FALSE 0 #define VERTEX_NUM 6 typedef struct Graph { char vexs[VERTEX_NUM]; /*顶点*/ int arcs[VERTEX_NUM][VERTEX_NUM]; /*邻接矩阵*/ int vexnum; /*顶点数*/ int arcnum 阅读全文
posted @ 2009-09-15 10:58 maxweii 阅读(425) 评论(0) 推荐(0)