- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PAGE III
最短路径图形结构算法及应用
摘要 日常出行人们依靠地图和导航来查询路线,计算两地最短的距离,选择最适合的路径,这时最短路径算法的需求就体现了出来。
最短路径算法,比较经典是Dijkstra算法,采用广度搜索(BFS)的思想,深度优先搜索(DFS)仅考虑与目标点的剩余代价而导致往往搜索不到最短的路径。A*算法作为Dijkstra算法的扩展,因其高效性而被广泛应用于寻路及图的遍历,且结果往往是最优解。
本文中主要探讨A*算法的运作方式,使用java代码编写对应程序,对生活中实例进行演示操作,发现影响算法搜索的效率的主要原因是openlist节点的遍历次数和一共执行的搜索次数,遍历次数和搜索次数的增多均会导致搜索时间的增加
在对算法进行分析改进后,提出了增加转向时的权值从而减少转向、以低精度的栅格替代高精度的栅格、用节点网图替代栅格网图等算法改进方案。经过实验均可在部分情况下提升算法效率同时精度损失可以忽略不计。
关键词 路径规划 最短路径 A*算法 运行效率
Algorithm and application of shortest path graph structure
Abstract Daily travelers rely on maps and navigation to query routes, calculate the shortest distance between the two places, and choose the most suitable path. At this time, the demand of the shortest path algorithm is reflected.
Dijkstra algorithm is the classic shortest path algorithm. It adopts the idea of breadth search (BFS), and depth first search (DFS) only considers the residual cost with the target point, so it often fails to find the shortest path. As an extension of Dijkstra algorithm, A * algorithm is widely used in path finding and graph traversal due to its high efficiency, and the final path is often the optimal solution.
This paper mainly discusses the operation mode of A * algorithm, uses Java code to write corresponding programs, and demonstrates the operation of real life examples. It is found that the main reasons that affect the efficiency of algorithm search are the number of traversal of openlist node and the total number of searches executed. The increase of traversal times and search times will lead to the increase of search time
After analyzing and improving the algorithm, the paper puts forward some improved schemes, such as increasing the weight g of turning to reduce turning, replacing high precision grid with low precision grid, replacing grid with node grid. In some cases, the efficiency of the algorithm can be improved and the accuracy loss can be ignored.
Key words path planning shortest path A* algorithm operation efficiency
目 录 TOC
您可能关注的文档
- 信息与计算科学-一类具有脉冲效应的时滞不确定系统的鲁棒稳定性分析.docx
- 信息与计算科学-一类具有脉冲效应的线性时变系统的稳定性分析.doc
- 信息与计算科学-一类具有时变脉冲的不确定系统的鲁棒稳定性分析.docx
- 信息与计算科学-一类线性时变系统的事件触发采样控制研究.docx
- 信息与计算科学-银行卡管理系统的设计与实现.docx
- 信息与计算科学-用MATLAB解决微积分中的图形问题.doc
- 信息与计算科学-智能导航系统的研究与设计.docx
- 信息与计算科学-中国像素地图最优路线分析.docx
- 信息与计算科学-最佳投资问题.docx
- 学前教育-3~6岁幼儿暑期生活安排现状研究——以宜兴市丁蜀镇中心幼儿园为例.docx
- 学前教育-3-6岁儿童父母教育观念的现状调查.docx
- 学前教育-3-6岁幼儿独立性发展影响因素研究——以宿迁市×××幼儿园为例.docx
- 学前教育-4-5岁幼儿同伴冲突中教师介入行为的现状调查.docx
- 学前教育-5~6岁幼儿分享行为的现状及策略研究.doc
- 学前教育-大班过渡环节教师指导的研究.docx
- 学前教育-大班建构游戏中的教师指导研究——以宿迁市某幼儿园为例.doc
- 学前教育-大班角色区开放性游戏材料投放的实践研究——以苏州市S幼儿园为例.docx
- 学前教育-大班幼儿积木游戏中深度学习的研究.doc
文档评论(0)