资 源 简 介
求图中从一个顶点到另一个顶点的一条路径。
//为简化算法,没有提供顶点到其编号的转换函数,函数Path_vtou(ALGraph G,VexIndex v,VexIndex u)
//中两顶点参数用的是顶点的编号;函数Printpath(ListType Path)输出的是路径上的顶点编号序列-seeking a map from the vertex to another vertex of a path.// To simplify the algorithm, not to its peak numbered conversion, function Path_vtou (ALGraph G, VexIndex v, u VexIndex)// 2 vertex parameters of the number of vertices; Function Printpath (ListType Path) output is on the path to the peak numbers Sequence