首页 | 本学科首页   官方微博 | 高级检索  
     

一种改进的群体智能寻路算法
引用本文:徐翔,黄敏.一种改进的群体智能寻路算法[J].计算机应用与软件,2012,29(5):139-142.
作者姓名:徐翔  黄敏
作者单位:电子科技大学中山学院计算机学院 广东 中山 528402
基金项目:广东省教育部产学研结合项目
摘    要:以游戏中群体智能角色的路径搜索为研究背景,提出一种改进的群体智能寻路算法。该方法把游戏寻路过程划分成三个阶段:第一阶段为预处理阶段,针对特定的目标点,采取逆向路径搜索策略,建立最优解路径表。第二阶段,针对动态障碍物的避让,运用实时A*算法生成局部动态路径,并与初始路径进行拼接。第三阶段,对找到的路径进行关键点优化和Catmull-Rom样条平滑处理。实验结果表明该方法在游戏开发中的实用价值。

关 键 词:路径搜索  最优解路径表  A*寻路  关键点优化  Catmull-Rom样条

AN IMPROVED GROUP INTELLIGENCE PATHFINDING ALGORITHM
Xu Xiang , Huang Min.AN IMPROVED GROUP INTELLIGENCE PATHFINDING ALGORITHM[J].Computer Applications and Software,2012,29(5):139-142.
Authors:Xu Xiang  Huang Min
Affiliation:Xu Xiang Huang Min(School of Computer Science and Engineering,University of Electronic Science and Technology of China,Zhongshan Institute,Zhongshan 528402,Guangdong,China)
Abstract:Taking path search of group intelligent agents in games as the research background,the paper proposes an improved group intelligent pathfinding algorithm.This method divides the whole process of game pathfinding into three stages.The first stage is the pre-treatment stage,aiming at the specific target,it takes reverse path search strategy and establishes the optimal solution path table.In second stage,for the situation of dynamic obstacles avoidance,it uses A* algorithm to generate partial local dynamic path,and stitches with the initial path.The third stage optimises the key-point of the found path and smoothes it with Catmull-Rom splines.Experimental results demonstrate the practical value of the method in game development.
Keywords:Pathfinding Optimal solution path table A* algorithm Key-point optimisation Catmull-Rom splines
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号