检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]信息工程大学,郑州450004
出 处:《计算机应用研究》2014年第1期188-191,共4页Application Research of Computers
基 金:武器装备预研重点基金资助项目(9140A15060311JB5201)
摘 要:为了减小适应度函数计算量,提高测试数据自动生成效率,提出一种基于二叉树表示的搜索空间数据缩减方法。利用二叉树编码,记录全空间中的覆盖路径和路径长度;将目标路径和测试路径长度进行对比,去除路径长度相差较大的路径;利用遗传算法生成测试数据并同已有两种方法进行比较。实验结果表明,在保证软件测试数据正确生成的情况下,该方法在进化代数和运行时间上有明显优势,生成测试数据效率高。In order to reduce the calculations of fitness function and improve the data generating efficiency, this paper proposed a method of reducing data in whole space based on binary tree. The method used binary tree code to record the overlay path and the path length of each datum; compared the program paths with the target paths, left out the paths with larger path length difference; compared the data generated by genetic algorithm with other two methods. As is shown in the experiments, this method can improve the data generating efficiency, and has a great advantage in improving algebra and the running time in ensuring the generation of correct test data.
分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.42