Computer and Modernization ›› 2012, Vol. 1 ›› Issue (1): 49-52.doi: 10.3969/j.issn.1006-2475.2012.01.013
• 软件工程 • Previous Articles Next Articles
HU Wen-huan, QIAN Yue-ying
Received:
Revised:
Online:
Published:
Abstract: 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.
Key words: genetic algorithm, test case, mutation control strategy, optimal control strategy, optimal solution
CLC Number:
TP301.6
HU Wen-huan;QIAN Yue-ying. Test Cases Auto-generating Based on Genetic Algorithm and Its Improved Method[J]. Computer and Modernization, 2012, 1(1): 49-52.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.c-a-m.org.cn/EN/10.3969/j.issn.1006-2475.2012.01.013
http://www.c-a-m.org.cn/EN/Y2012/V1/I1/49