• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2020, Vol. 42 ›› Issue (08): 1374-1382.

Previous Articles     Next Articles

A coverage table generation algorithm based on improved whale optimization

LIU Xiang-ting,CAO Xiao-peng   

  1. (School of Computer Science & Technology,Xi’an University of Posts and Telecommunications,Xi’an 710121,China)

  • Received:2020-01-15 Revised:2020-03-11 Accepted:2020-08-25 Online:2020-08-25 Published:2020-08-29

Abstract: In order to improve the efficiency of coverage table generation in combination test, an improved whale optimization algorithm based on the discreteness of coverage table generation is proposed. Firstly, it uses the idea of encoding transformation to change the continuous motion mode of individual whale to the discrete mode of coverage table generation. Secondly, an iterative evolution operator is added to further improve the search ability in the development and search phase of the algorithm. Finally, aiming at the limitation problem of the algorithm itself in coverage table generation, it introduces the average hamming distance to jump out of the local optimum. Constraint handing mechanism is added by constraint solver and penalty function method, so as to improve the practical application ability of the algorithm. Experimental results show that the proposed algorithm has better advantages than he other existing algorithms in the scale of coverage table generation.

Key words: combinatorial test, whale optimization, coverage table generation, constraint handing