• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2024, Vol. 46 ›› Issue (01): 142-149.

• 人工智能与数据挖掘 • 上一篇    下一篇

基于拟合优先搜索的多场景自适应改进A*算法

沈克宇,游志宇,刘永鑫   

  1. (西南民族大学电气工程学院,四川 成都 610225) 
  • 收稿日期:2022-04-28 修回日期:2022-08-31 接受日期:2024-01-25 出版日期:2024-01-25 发布日期:2024-01-15
  • 基金资助:
    成都市科技项目(2021-RK00-00079-ZF);西南民族大学中央高校基本科研业务费专项资金(2021101)

A multi-scene adaptive A* algorithm based on fitting-first search

SHEN Ke-yu,YOU Zhi-yu,LIU Yong-xin   

  1. (College of Electrical Engineering,Southwest Minzu University,Chengdu 610225,China) 
  • Received:2022-04-28 Revised:2022-08-31 Accepted:2024-01-25 Online:2024-01-25 Published:2024-01-15

摘要: 针对传统A*算法存在遍历节点数多、转折角度大和搜索速度慢的问题,提出基于拟合优先搜索的多场景自适应改进A*算法。首先,引入父节点的启发距离以减少遍历节点数和提高搜索速度,并量化场景地图信息,利用自适应控制原理实现启发权重的适时调整,以增强算法鲁棒性;其次,采用拟合优先搜索策略,进一步增强算法的启发性;接着,通过局部剪枝和冗余节点删除对路径进行平滑处理,减少遍历节点数和转折角度;最后,进行仿真测试。测试结果表明,所提算法遍历节点数更少、转折角度更小、搜索速度更快。

关键词: A*算法, 路径规划, 自适应, 拟合优先, 路径平滑

Abstract: Aiming at the problems of large number of traversal nodes, large turning angle, and slow search speed of the traditional A* algorithm, a multi-scene adaptive improvement A* algorithm based on fitting-first search is proposed. Firstly, the heuristic distance of the parent node is introduced to reduce the number of traversal nodes and improve the search speed, the scene map information is quantified, and the adaptive control principle is used to achieve the timely adjustment of the heuristic weight to enhance the robustness of the algorithm. Secondly, the heuristic strategy of fitting-first search is used to further enhance the heuristic of the algorithm. Thirdly, the path is smoothed through local pruning and redundant node deletion to reduce the number of traversed nodes and the turning angle. Finally, a simulation test is carried out on Matlab, and the test results show that the proposed algorithm has fewer traversed nodes, smaller turning angle, and faster search speed.

Key words: A* algorithm, path planning, adaptive, fitting-first, path smoothing