首页 | 本学科首页   官方微博 | 高级检索  
     

改进PSO算法在软件测试数据生成中的应用
引用本文:时贵英. 改进PSO算法在软件测试数据生成中的应用[J]. 计算机工程与科学, 2012, 34(1): 86-89
作者姓名:时贵英
作者单位:东北石油大学计算机与信息技术学院,黑龙江大庆,163318
摘    要:软件测试是软件质量保证的重要手段,测试用例自动生成一直是被广泛研究的问题。本文在分析了遗传算法、粒子群算法和蚁群算法的优缺点后,在软件测试用例的自动生成过程中采用一种新改进的粒子群算法。该算法将蚁群算法的信息素机制引入到粒子群算法中,加大了粒子间的多样性,有效地克服了粒子群算法容易发生早熟停滞的缺陷。最后通过仿真实验证明了算法应用于软件测试的可行性和高效性。

关 键 词:粒子群算法  蚁群算法  信息素机制  软件测试
收稿时间:2010-12-13
修稿时间:2011-03-11

Application of an Improved Particle Swarm Optimization Algorithm in Software Test Data Generation
SHI Gui-ying. Application of an Improved Particle Swarm Optimization Algorithm in Software Test Data Generation[J]. Computer Engineering & Science, 2012, 34(1): 86-89
Authors:SHI Gui-ying
Affiliation:(School of Computer and Information Technology,Northeast Petroleum University,Daqing 163318,China)
Abstract:Software testing is an important means of software quality assurance,the automatic generation of test cases has been widely studied. By analyzing the advantages and disadvantages of the genetic algorithm, the particle swarm optimization algorithm and the ant colony algorithm,the paper proposes a new improved particle swarm algorithm in the automatic generation of test cases. The pheromone mechanism of the ant colony algorithm is introduced into the particle swarm algorithm, which can increase the diversity of particles and overcome the defect that PSO is easy to premature and stagnation. Finally the simulation experiment proves the feasibility and efficiency of the algorithm in software testing.
Keywords:PSO  ACO  peromone mechanism  software testing
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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