检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海师范大学数理信息学院计算机科学与工程系,上海200234
出 处:《计算机应用研究》2008年第3期786-788,802,共4页Application Research of Computers
基 金:国家自然科学基金资助项目(60673067);上海市科委自然科学基金资助项目(04ZR14105)
摘 要:遗传算法(GA)在测试用例生成方面是一种实用的算法,但是其自身也存在的局限性,如过早收敛、优化效率低等问题。通过引入粒子群算法(PSO),使每一个测试用例在局部区域中再次寻找最优值,以此改进整体算法搜索最佳值的能力,避免过早收敛、优化效率低的问题。与此同时,针对面向对象测试的特点,如封装性等,将混合算法进行适当的改进,满足在不同环境中重复使用类的要求。Genetic algorithm is an effective algorithm in automatic generation of test data. But it also has the deficiency such as ahead convergence and short of climbing ability, etc. This paper improved the ability of searching for the most suitable value and avoided the problem of ahead convergence and short of climbing ability by introducing the particle swami optimization (PSO). Meanwhile this paper also improved the hybrid algorithm in order to meet the needs of using the object-oriented program in different conditions.
分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145