Dijkstra

所属分类:数据结构
开发工具:C/C++
文件大小:186KB
下载次数:26
上传日期:2010-12-13 14:14:32
上 传 者叶微晨曦
说明:  迪杰斯克拉无向图最短路径----dijkstra 这是帮同学完成的Project,老外老师的要求果然不同。对于基本算法,不光要求不能使用高级容器类,还要求程序有一定的检验错误能力。花了1天的时间写完,代码考虑结点过多内存占用的问题,因此关系矩阵采用映射的方式存储。由此带来的弊端是,找一个结点的时候需要循环判断,导致效率过低。总之,内存占用与程序效率是鱼与熊掌不可兼得。 代码写的比较凌乱。仅供参考。 Project的要求介绍参考链接: http://hi.baidu.com/yiyiyis/blog/item/1d12842a6ae51c21d52af1d0.html?timeStamp=1292219252654
(Dinger undirected graph Sklar---- dijkstra shortest path is to help students complete the Project, the teacher asked foreigners really different. For the basic algorithm, not only asked not to use the advanced containers, also called the inspection program has a certain error capacity. It took 1 day of time to finish, the code takes into account node issue too much memory, so by mapping relationship matrix stored. The resulting drawback is to find a node to determine when the need for recycling, resulting in low efficiency. In short, the efficiency of memory usage and process fish and can not have both. Comparison of writing messy code. For reference only. Project requirements description reference links: http://hi.baidu.com/yiyiyis/blog/item/1d12842a6ae51c21d52af1d0.html?timeStamp=1292219252654)

文件列表:
说明.txt (814, 2010-12-13)
源码\Dijkstra.cpp (12337, 2010-12-13)
源码\Dijkstra.dsp (3425, 2010-02-08)
源码\Dijkstra.dsw (541, 2010-02-08)
源码\Dijkstra.ncb (41984, 2010-10-12)
源码\Dijkstra.opt (77824, 2010-10-12)
源码\Dijkstra.plg (1135, 2010-02-08)
Dijkstra.exe (902146, 2010-12-13)
test.txt (73, 2010-12-13)
源码 (0, 2010-12-13)

近期下载者

相关文件


收藏者