计算机与现代化

• 算法设计与分析 • 上一篇    下一篇

基于MapReduce的混合蚁群算法研究

  

  1. 江南大学物联网工程学院,江苏无锡214122
  • 收稿日期:2016-03-31 出版日期:2016-10-15 发布日期:2016-10-14
  • 作者简介:蔡明(1962-),男,江苏常州人,江南大学物联网工程学院副教授,研究方向:计算机软件,网络应用; 左勇安(1987-),男,江苏扬州人,硕士研究生,研究方向:计算机软件,计算机应用。

A Hybrid Ant Colony Algorithm Based on MapReduce

  1. School of the Internet of Things Engineering, Jiangnan University, Wuxi 214122, China
  • Received:2016-03-31 Online:2016-10-15 Published:2016-10-14

摘要: 传统的蚁群算法在收敛速度上较慢且容易导致局部最优解,本文提出一种基于双模式的混合蚁群算法,即在算法的每次迭代中有比例地选择其中一种模式来获得蚂蚁的最优路径,可以实现在相对较少的时间内寻找出最优路径,且避免陷入局部最优解。由于蚁群算法天然具有并行化的特性,本文将混合蚁群算法与MapReduce结合,大大缩短了算法的执行时间。实验结果表明,基于MapReduce的混合蚁群算法可以实现在相对较少的时间内寻找出较优的路径。

关键词: 蚁群算法, 混合蚁群算法, MapReduce, 云计算

Abstract:  The traditional ant colony algorithm has a slow rate of convergence and is easy to result in local optimal solution. This paper raises a new hybrid ant colony algorithm, which is based on a mixed mode of elite mode and normal mode. The algorithm selects a mode proportionally in each iteration to obtain the optimal path. In this way, we are able to find the optimal path in a less time and avoid falling into local optimal solution. Because of the parallel property of ant colony algorithm, it’s feasible to use MapReduce to run it. Experimental results show that the MapReducebased hybrid ant colony algorithm can find out the optimum path in a relatively less time.

Key words: ant colony algorithm, hybrid ant colony algorithm, MapReduce, cloud computing

中图分类号: