- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
启发式最短路径算法研究
摘 要:最短路径算法的效率是GIS、智能交通系统等应用领域普遍关注和迫切需要解决的问题。在深入分析经典的Dijkstra和启发式最短路径算法的基础上,选取A*启发式最短路径算法,以庐山交通路网为数据基础,对A*算法和Dijkstra算法进行了对比分析和测试。实验结果表明A*算法能够限制条件扩展节点,减少算法遍历的节点数目, 降低执行时间,较经典Dijkstra算法具有更高的效率。在A*启发性算法中,可以将启发函数h(n)看作是节点值估计的约束条件,如果h(n)包含的信息越多或约束条件越多,则排除的节点就越多,估价函数f(n)越好。因此,选择合适的估价函数对算法整体效率有很大影响。
关键词:Dijkstra A* 最短路径算法
Heuristic shortest path algorithm research -- an example of network routing on Mount Lu
Abstract: Shortest path algorithm efficiency is application areas such as attention and urgent needs to solve the problem in GIS, intelligent transportation system. In depth analysis of the classical Dijkstra and heuristic shortest path algorithm based on A*, selecting heuristic shortest path algorithm in traffic network on the A * algorithm and Dijkstra algorithm are analyzed and tested as Mount Lu for the data base. The experimental results show that A * algorithm can limit the conditions of extended node traversal algorithm, reduce the number of nodes, reduce the execution time, compared with the classical Dijkstra algorithm has higher efficiency. In A * heuristic algorithm, heuristic function h (n) can be as the node value estimate of the constraints, if h ( n ) contains more information or more constraint conditions, then excluding nodes number, evaluation function f ( n ) as possible.Therefore, choosing the appropriate valuation function on the whole algorithm efficiency has a great influence.
Key words: Dijkstra ;A* ; shortest path algorithm
目录
1.序论 3
1.1研究目的和意义 3
1.2国内外研现状 4
2. Dijkstra和启发式最短路径算法研究 6
2.1 图搜索算法和Dijkstra算法 6
2.2启发式算法 6
2.3A*算法 7
2.4A*算法可接纳性 8
2.4.1 A*算法的条件 8
2.4.2 定理1 9
2.4.3 定理2 11
2.4.4 一致性(或单调)条件 12
2.4.5 定理3 13
2.5估计函数的选取 15
3.实验环境和数据基础 16
3.1软件环境 16
3.2硬件环境 16
3.3实验数据 16
4.关键技术 17
4.1启发式函数: 17
4.2数据预处理 17
4.2.1读取数据 18
4.2.2数据检查 19
4.3邻接表构建拓扑 19
5.算法实现 21
5.1实现流程图 21
5.2 Dijkstra和A*算法的实现 21
6.结论与展望 26
6.1结论 26
6.2展望 26
7致谢 27
8.参考文献 28
1.序论
1.1研究目的和意义
随着计算机的普及以及地理信息科学的发展,地理信息系统(GocmetyrnIofmratinoSysetm,GIS
在众多的路径搜索算法中, Dijks
文档评论(0)