系统仿真学报 ›› 2016, Vol. 28 ›› Issue (10): 2312-2320.

• 仿真建模理论与方法 • 上一篇    下一篇

Web3D山地场景中多智能体mACO路径规划算法

闫丰亭, 贾金原   

  1. 同济大学,上海 201804
  • 收稿日期:2016-05-31 修回日期:2016-07-14 出版日期:2016-10-08 发布日期:2020-08-13
  • 作者简介:闫丰亭(1980-),男,山东,博士生,研究方向为虚拟现实与机器学习;贾金原(1963-),男,内蒙古,博士,教授,研究方向为分布式虚拟现实、Web3D、游戏引擎。
  • 基金资助:
    国家自然科学基金(61272270)

Multi-agent Path Planning mACO Algorithm in Web3D Mountain Scene

Yan Fengting, Jia Jinyuan   

  1. Tongji University, Shanghai 201804, China
  • Received:2016-05-31 Revised:2016-07-14 Online:2016-10-08 Published:2020-08-13

摘要: 山地场景数据量大,路径规划算法复杂,难以在网页上精确显示,通常采用的基于等高线的势能路径规划,往往得不到最优路径,且容易被隔断在悬崖下面。为解决以上问题,提出并实现了Web3D上的mACO (mountain ACO)路径规划算法,并在Web3D上实现了基于平面网格的pgACO (planar grid ACO)路径规划算法,以及一个Web3D上的A*路径规划算法。再以典型战斗场景为案例,针对mACO算法、pgACO算法以及A*算法,就实现效果、效率、网页刷新率(FPS)做了对比实验,结果显示,三种算法均可达到实时性,但mACO算法规划的路径更加精确。最后根据规划出来的最优路径,采用leader-follower思想,在Web3D上实现了实时高效的多智能体路径规划方案

关键词: Web3D山地场景, mACO算法, 平面网格pgACO算法, A*算法, 多智能体路径规划

Abstract: There is amount of data in a mountain scene, and the path planning algorithm in it is very complex, so it is not impossible to be shown detailed in Web. Usually the common potential path planning using contours can not find an optimal path because the path is easily cut under the cliff. To solve the above problems, a mACO (mountain ACO) path planning algorithm was addressed for the Web3D application, a planar grid ACO path planning algorithm and a A* path planning were completed in Web3D environment. Then a typical battle scene case was used for the three kinds of algorithms to be compared in effectiveness, efficiency, and FPS. The result can be seen that all the three kinds of algorithms are real-time, but the mACO algorithm is more accurate than the others. Based on the optimal path and using leader-follower idea, a real-time effective multi-agent path planning is implemented.

Key words: Web3D mountain scene, mACO (mountain ACO) algorithm, planar grid ACO algorithm, A* algorithm, multi-agent path planning

中图分类号: