当前注册人数155278人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB   站内搜索 BBS讨论社区 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Single-source Shortest Path for Graph

单源最短路径Dijkstra程序

2009年08月13日
飞飞雨  热心分享
VC++
继续练习数据结构,实现单源最短路径的Dijkstra算法。
 
相关知识
For a given source vertex (node) in the graph, the algorithm finds the path with lowest cost (i.e. the shortest path) between that vertex and every other vertex. It can also be used for finding costs of shortest paths from a single vertex to a single destination vertex by stopping the algorithm once the shortest path to the destination vertex has been determined. For example, if the vertices of the graph represent cities and edge path costs represent driving distances between pairs of cities connected by a direct road, Dijkstra's algorithm can be used to find the shortest route between one city and all other cities. As a result, the shortest path first is widely used in network routing protocols, most notably IS-IS and OSPF (Open Shortest Path First).
飞飞雨 2009年08月13日[编辑]
源代码原文下载:
Source link has yet to be found. Please, try to download it from local website.

源码图片

从本站下载附件及源代码(1个附件,已经成功下载258次)

最值得关注的外文源代码

3D OpenGL Billard Simulator
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论23次,此处显示最近3次评论! 查看所有评论

Miss_tomorrow  2010年05月18日
继续用呢,呵呵
koumeng5281  2010年05月02日
不错
大猫  2009年08月15日
谢谢!
字数在300字内
请如实评论
相关标签
相关搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved   免责声明
京ICP备08011023号