图论算法库 C++ 语言实现

所属分类:数据结构
开发工具:C++
文件大小:10KB
下载次数:665
上传日期:2006-01-12 20:00:48
上 传 者eprometheus
说明:  图论算法库 C++ 语言实现 代码内容 图论算法库,包括以下算法: 单源最短路径 Dijkstra 算法 单源最短路径 Bellman-Ford 算法 最小生成树 Prim 算法 每对节点间最短路径 Flod-Warshall 算法 语言 C++ 编译平台 VisualAge C++ 4.0 作者 starfish (starfish.h@china.com) 备注 程序用C++语言编写,在VisualAge C++ 4.0下调试通过。压缩包内的Graph.h文件包含所有的库函数,其调用接口见程序内注释。其他的文件是用来测试算法的测试程序,在VisualAge C++ 4.0下编译运行。 该算法是我为参加ACM/ICPC竞赛而准备的资料,由于竞赛的对编程速度要求较高,所以为了将代码写的短一点,为了便于调试,代码的写的并不是最优的。 虽然该代码在VisualAge C++ 4.0下写成,但是很容易将其移植到MS Visual C++上。
(graph algorithm for C language code content graph algorithm library, including the following algorithm : single-source shortest path algorithm Dijkstra single source shortest path Bellman-Ford algorithm youngest generation Prim algorithm for each tree node on the shortest path between Flod- Warshall ALGOL C compiler platform Vi sualAge author starfish 4.0 C (starfish.h @ china.c om) Remarks procedures using C language, the VisualAge C 4.0 debugging through. The compressed file contains all Graph.h the library, the procedure call interface, see the Notes. Other documents algorithm is used to test the test procedures in VisualAge C compiler running under 4.0. The algorithm is for me to participate in ACM/Illinois prepared to contest the information, because the competition for high speed )

文件列表:
图论 (0, 2001-01-12)
图论\BALL.CPP (3818, 1999-10-25)
图论\BALL.IN (45, 2000-10-25)
图论\BALL.OUT (20, 1999-10-25)
图论\Bellman_Ford.cpp (1900, 2000-10-26)
图论\Bellman_Ford.icc (63, 2000-10-26)
图论\Bellman_Ford.in (87, 2000-10-14)
图论\Bellman_Ford.irs (126, 2000-11-21)
图论\Bellman_Ford.out (71, 2000-10-26)
图论\Dijkstra.cpp (1780, 2000-10-26)
图论\Dijkstra.icc (801, 2000-10-26)
图论\Dijkstra.in (65, 2000-10-14)
图论\Dijkstra.out (67, 2000-10-26)
图论\Floyd_Warshall.in (75, 2000-10-14)
图论\Floyd_Warshall.out (0, 2000-10-26)
图论\Folyd_Warshall.cpp (1905, 2000-10-26)
图论\Folyd_Warshall.icc (67, 2000-10-26)
图论\GRAPH.H (4501, 2000-10-26)
图论\MainFrame.cpp (1252, 2000-10-26)
图论\Prim.cpp (2835, 2000-10-24)
图论\PRIM.ICC (51, 2000-10-26)
图论\PRIM.IN (79, 2000-10-14)
图论\Prim.out (50, 2000-10-26)

近期下载者

相关文件


收藏者