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

改进的遗传算法在测试数据自动生成中的应用
引用本文:高海昌,冯博琴,朱利,郭斌.改进的遗传算法在测试数据自动生成中的应用[J].系统工程与电子技术,2006,28(7):1077-1081.
作者姓名:高海昌  冯博琴  朱利  郭斌
作者单位:1. 西安交通大学电子与信息工程学院,陕西,西安,710049
2. 西安交通大学软件学院,陕西,西安,710049
基金项目:国家“863”高技术计划资助课题(2003AA1Z2610)
摘    要:提出了图的一种新的存储方式:双向邻接链表,可完备地表示软件项目的类图结构。基于自动插装,构造了一种新颖的用树结构来设计适应度函数的改进遗传算法iAGA,并使用自适应的交叉和变异算子来进行下一代生成。将改进算法与基本遗传算法SGA和自适应遗传算法AGA进行了比较,发现可以明显节省搜索和生成时间。使用三角形分类等实例进行了测试数据自动生成的验证,证明所提的iAGA改进算法是有效的。对采用均匀权值、自顶向下和自底向上这三种权值分配方式进行了比较,实验表明在采用树结构计算适应度方式下,均匀分配权值比较。

关 键 词:测试数据  遗传算法  自适应算子  树结构
文章编号:1001-506X(2006)07-1077-05
修稿时间:2005年6月8日

Improved adaptive GA application on automatic test data generation
GAO Hai-chang,FENG Bo-qin,ZHU Li,GUO Bin.Improved adaptive GA application on automatic test data generation[J].System Engineering and Electronics,2006,28(7):1077-1081.
Authors:GAO Hai-chang  FENG Bo-qin  ZHU Li  GUO Bin
Abstract:The current research of software test data automatic generation is not sufficiency.To express the structure of class chart perfectly,a novel storage strategy of chart,bidirectional adjacent list,is presented.An improved adaptive genetic algorithm(iAGA) using instrumentation technique based on information extraction from source file and a novel construct fitness function using tree structure are developed for automatic software test data generation.The performance between SGA,AGA and iAGA was compared.The experimental results show that the iAGA may significantly reduce the seeking time and generation and the iAGA is effective and promising.Average weight,Top-to-down,and Down-to-top assign methods are also compared,it shows that the average weight assign method is more excellent than others under tree structure fitness calculating.
Keywords:test data  genetic algorithm  adaptive operator  tree structure  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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