摘要:
Dijkstra(迪杰斯特拉)算法是典型的单源最短路径算法,用于计算一个节点到其他所有节点的最短路径。主要特点是以起始点为中心向外层层扩展,直到扩展到终点为止。/*图的邻接矩阵表示*/typedef struct _graph{ int vexs[MAX]; int vnum; int enum... 阅读全文
摘要:
原文:http://hi.baidu.com/mawf2008/item/eec8c7ad1c5be5ae29ce9da6merge into ausing bon (a.a=b.b)when matched then update xxxxxwhen not matched then insert... 阅读全文