系统仿真学报 ›› 2016, Vol. 28 ›› Issue (8): 1805-1811.

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

基于改进遗传算法的路径选择算法及仿真实现

顾键萍1, 张明敏2, 王梅亮1   

  1. 1.丽水学院,丽水 323000;
    2.浙江大学,杭州 310000
  • 收稿日期:2014-08-30 修回日期:2015-02-01 出版日期:2016-08-08 发布日期:2020-08-17
  • 作者简介:顾键萍(1970-),浙江上虞,硕士,讲师,研究方向为虚拟现实、数字媒体。
  • 基金资助:
    2014浙江省科技厅公益技术应用研究(2013C33G2260014)

Improved Genetic Algorithm-based Network Game Path Selection and Simulation

Gu Jianping1, Zhang Mingmin2, Wang Meiliang1   

  1. 1. Lishui University, Lishui 323000, China;
    2. Zhejiang University, Hangzhou 310000, China
  • Received:2014-08-30 Revised:2015-02-01 Online:2016-08-08 Published:2020-08-17

摘要: 传统路径最优算法把路径最短作为目标,不考虑网络拥堵和游戏区域人数等实时情况,使得算法存在局限性。根据网络游戏实际情况,提出网络游戏路径选择模型,并用改进的遗传算法仿真实现。对游戏地图与游戏相关数据进行预处理,得到游戏地图各路段实时加权长度值,通过遗传算法进行寻优求解。提出一种基于改进遗传算法的网络游戏路径选择方法,与经典算法Dijkstra相比,有效提高了路径搜索效率。

关键词: 遗传算法, 网络游戏, 路径选择, 建模与仿真

Abstract: Traditional optimal path algorithm only sets the shortest path as the target, and it does not consider the network congestion and the number of users in game area for real-time situation, thus resulting in some limitations. According to the actual circumstance of network game, network game path selection model was proposed, and the improved genetic algorithm was employed for simulation. The method pre-processed the game map to get each road weighted length value for a real-time game map, and optimization solution was obtained through the genetic algorithm. A network game path selection method based on improved genetic algorithm was proposed compared with the classical dijkstra algorithm, effectively improving the efficiency of the path search.

Key words: genetic algorithm, online game, path choice, modeling and simulation

中图分类号: