摘要
为了进一步优化软件测试的时间与效率,设计了二进制编码的微粒群优化的算法改进,构建了算法的原理与步骤,利用VC++6.0平台进行了4种不同结构的基准程序软件测试实验。结果表明:与遗传算法相比,改进设计算法在较大数据范围情况下运行时间更短;设计方法只需要遗传方法约五分之四的进化代数和进化时间就能完成覆盖目标路径的数据。上述研究结果对于计算机软件缩短开发时间具有明显的实际意义。
In order to further optimize the time and efficiency of software testing, a particle swarm optimization algorithm is designed for binary coding improvements, construction of the principles and steps of the algorithm, using VC ++ 6.0 platform for the four kinds of different structural benchmark test software experiment. The results showed that : compared with the genetic algorithm to improve the design of algorithms in the case of a large range of data shorter running time; design method requires only about four-fifths of the genetic and evolutionary time evolu- gebra to complete coverage of the target path of the data. These results have obvious practical implications for ter software to shorten development time.
出处
《科学技术与工程》
北大核心
2014年第35期245-248,共4页
Science Technology and Engineering