期刊文献+

基于遗传算法的测试用例自动生成及其改进方法 被引量:1

Test Cases Auto-generating Based on Genetic Algorithm and Its Improved Method
下载PDF
导出
摘要 遗传算法是一种通用的自适应搜索算法。它给测试用例自动生成问题带来了新的解决思路。但是传统的遗传算法应用于测试用例自动生成,重组、突变的随机性容易使种群中多样性遭到破坏,使得算法搜索空间减小,从而导致算法错误地收敛到局部最优值。而且盲目的随机重组和突变又使得搜索的效率非常低。本文介绍一种改进方法,引进突变控制策略和优化解控制策略,可有效提高遗传算法的搜索能力和获取最优解的性能。 Genetic algorithm is currently an adaptive searching algorithm which gives a new solution to generate test cases. However, when it is used to generate test cases, the randomness of recombination and mutation makes the diversity of the population easily destroyed and leads to the search space getting smaller, finally results in the algorithm finding a wrong local optimum. Moreover, recombining and mutating freely makes the searching efficiency very low. This paper introduces an improved method, with a mutation control strategy and an optimal control strategy added, which effectively improves the searching capability and gets optimal solution capability of the algorithm.
出处 《计算机与现代化》 2012年第1期49-52,共4页 Computer and Modernization
关键词 遗传算法 测试用例 突变控制策略 优化解控制策略 最优解 genetic algorithm test case mutation control strategy optimal control strategy optimal solution
  • 相关文献

参考文献10

  • 1Ron Patton.软件测试[M].北京:机械工业出版社,2002.
  • 2郑人杰.计算机软件测试技术[M].北京:清华大学出版社,1991.
  • 3Jones B F, Sthamer H H, Eyres D E. Automatic structural testing using genetic algorithms [ J ]. Software Engineering Journal, 1996,11 (5) :299-306.
  • 4Holland J H. Adaptation in Natural and Artificial Systems [ M ]. Cambridge: The University of Michigan Press, 1975.
  • 5席裕庚,柴天佑,恽为民.遗传算法综述[J].控制理论与应用,1996,13(6):697-708. 被引量:347
  • 6Korel B. Automated software test data generation [ J ]. IEEE Transactions on Software Engineering,1990,16(8):870-879.
  • 7荚伟,奚红宇,高仲仪.遗传算法在软件测试数据生成中的应用[J].北京航空航天大学学报,1998,24(4):434-437. 被引量:38
  • 8Pargas R, Harrold M, Peck R. Test-data generation using genetic algorithms [ J ]. Journal of Software Testing, Verification & Reliability, 1999,9 (4) :263-282.
  • 9Bart Broekman,Edwin Notenboom.嵌入式软件测试[M].北京:电子工业出版社,2004.
  • 10Zhang J S, Xu Z B, Leung Y. The whole annealing genetic algorithms and tlleir sufficient and necessary conditions of convergence [ J ]. Science in China: Series E, 1997,27 ( 2 ) : 154-164.

二级参考文献14

共引文献396

同被引文献6

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部