首页 | 官方网站   微博 | 高级检索  
     

遗传算法和Dijkstra算法在动态权值系统中的比较
引用本文:马超.遗传算法和Dijkstra算法在动态权值系统中的比较[J].计算机技术与发展,2012(9):21-24,28.
作者姓名:马超
作者单位:西北大学 软件学院,陕西 西安 710100
基金项目:陕西省科技攻关项目(2009k01-53)
摘    要:针对遗传算法和Dijkstra算法在求解动态权值系统中最短路径时的性能问题,采用比较法,将两种算法应用在同一个实际游戏模型中,对其算法的稳定性、智能性、时间复杂度进行对比测试。游戏模型模拟了各种条件下的动态权值系统。为了使遗传算法更加可靠,通过优化其变异过程使得收敛速度更快,可靠性更高。实验数据表明,遗传算法在每张地图上的得分数以及算法所用时间普遍高于Dijkstra算法,从而得出遗传算法在求解动态权值系统中最短路径问题时稳定性和预期效果明显好于Dijkstra算法,但其时间复杂度较高的结论。

关 键 词:遗传算法  Dijkstra算法  最短路径  动态权值

Comparison of Genetic Algorithm and Dijkstra Algorithm in Dynamic Weight System
MA Chao.Comparison of Genetic Algorithm and Dijkstra Algorithm in Dynamic Weight System[J].Computer Technology and Development,2012(9):21-24,28.
Authors:MA Chao
Affiliation:MA Chao(College of Software, Northwest University, Xi'an 710100, China)
Abstract:Used a comparative approach to compare the performance of the genetic algorithm with the Dijkstra algorithm when solve the shortest path problem in the dynamic weight system. Did an experiment in the actual model with these two algorithms in order to test their stability, intelligence and time complexity. The game model makes many kinds of dynamic weight system. In order to make the genetic al- gorithm more reliable, the new algorithm gets a way to optimize the process of mutation to make the speed of the genetic algorithm faster and the reliability better. The experiment data shows that most data of the genetic algorithm is higher than the Dijkstra algorithm. The experiment makes a conclusion that the stability and expected result of the genetic algorithm is better than the Dijkstra algorithm in the dynamic weight system, but the time complexity of algorithm is higher than the Dijkstra algorithm.
Keywords:genetic algorithm  Dijkstra algorithm  shortest path  dynamic weight
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号