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

多路径覆盖测试数据生成适应度函数设计方法
引用本文:伊丹丹,姜淑娟,张艳梅.多路径覆盖测试数据生成适应度函数设计方法[J].计算机工程与应用,2012,48(22):79-83.
作者姓名:伊丹丹  姜淑娟  张艳梅
作者单位:中国矿业大学计算机科学与技术学院,江苏徐州,221116
基金项目:国家自然科学基金(No.60970032);江苏省“青蓝工程”;江苏省研究生培养创新工程项目(No.CX10B_157Z)
摘    要:综合考虑影响适应度函数设计的因素,提出一种基于层次分析法的适应度函数设计方法。该方法首先将影响路径之间相似度的因素归结为三要素,并建立层次分析模型。根据不同因素对路径间相似度的作用重要程度不同,建立因素之间两两比较的判断矩阵,确定每个因素的权重系数,进而构造适应度函数。最后,将该方法用于基于遗传算法的多路径覆盖的测试数据生成。实验结果表明,对于解决多路径覆盖的测试数据生成问题,与已有方法相比,该方法具有较好的优越性。

关 键 词:适应度函数  层次分析法  遗传算法  多路径覆盖  测试数据生成

Fitness function design approach for test data generation of multiple path coverage
YI Dandan , JIANG Shujuan , ZHANG Yanmei.Fitness function design approach for test data generation of multiple path coverage[J].Computer Engineering and Applications,2012,48(22):79-83.
Authors:YI Dandan  JIANG Shujuan  ZHANG Yanmei
Affiliation:School of Computer Science and Technology,China University of Mining and Technology,Xuzhou,Jiangsu 221116,China
Abstract:Considering the factors that affect the design of fitness function,this paper proposes an approach to design fitness function based on analytic hierarchy process.The method comes down the factors that affect the similarity of paths to three elements,and establishes a hierarchy analysis model.Then,establish the judging matrix for pairwise comparison of different factors,determine weights coefficient of each factors,and then construct fitness function.The approach is applied to test data generation for multi-path coverage based on genetic algorithm.The experiment results show that the proposed approach has a good advantage for generating test data for multiple paths compared with existing methods.
Keywords:fitness function  analytic hierarchy process  genetic algorithm  multi-path coverage  test data generation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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