A Parallel Genetic Algorithm Based on Spark for Pairwise Test Suite Generation

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:zxlpku
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Pairwise testing is an effective test generation technique that requires all pairs of parameter values to be covered by at least one test case. It has been proven that generating minimum test suite is an NP-complete problem. Genetic algorithms have been used for pairwise test suite generation by researchers. However, it is always a time-consuming process, which leads to significant limitations and obstacles for practical use of genetic algorithms towards large-scale test problems. Parallelism will be an effective way to not only enhance the computation performance but also improve the quality of the solutions. In this paper, we use Spark, a fast and general parallel computing platform, to parallelize the genetic algorithm to tackle the problem. We propose a two-phase parallelization algorithm including fitness evaluation parallelization and genetic operation parallelization. Experimental results show that our algorithm outperforms the sequential genetic algorithm and competes with other approaches in both test suite size and computational performance. As a result, our algorithm is a promising improvement of the genetic algorithm for pairwise test suite generation.
其他文献
目的了解那坡县边境地区高危人群HIV感染情况,确定艾滋病防治的重点人群,从而为做好那坡县边境地区的艾滋病防治工作打下良好基础。方法对那坡县边境地区2008-2011年高危艾滋
先进高强钢成形后回弹严重影响成形件形状精度,为准确预测并控制回弹,提出一种新的多尺度无网格自适应分析方法,优化工艺参数,降低回弹提高成形精度.利用无网格形函数多尺度
暗纹东方(Takifuguobscurus)隶属形目,科,东方属,俗称河豚,是长江水域的名贵鱼类,味道极其鲜美且营养丰富,其肝脏可提取河豚鱼毒素,在国内外市场上一直畅销不衰,近年来随着河豚人工繁殖
一、软腐病1.发病症状辣椒根部受害后变黑、腐烂,地上部萎蔫死亡。果实和近地面果实受害后,病部呈水渍状暗绿色,果实软腐,病果皮上产生茂密的白色菌丝。2.传播途径和发病条件
We proposed a novel solution schema called the Hierarchical Labeling Schema (HLS) to answer reachability queries in directed graphs. Different from many existin
For segmenting cerebral blood vessels from the time-of-flight magnetic resonance angiography (TOF-MRA) images accurately, we propose a parallel segmentation alg
我科在产程活跃期应用地西泮、山莨菪碱,缩短产程,减轻产妇的疼痛,提高自然分娩率,取得了很好的效果,现报告如下。1资料和方法1.1临床资料:随机选择2008年1月至12月住院的足
光倒刺鲃是目前淡水鱼类养殖中效益较高的一种.笔者从事光倒刺鲃繁殖、养殖研究数年,现将光倒刺鲃养殖应注意的一些问题总结如下.
目的总结继发于小脑病变的肥大性下橄榄核变性(hypertrophic olivary degeneration,HOD)的MR表现,提高对该病变的认识.方法回顾总结6例继发于小脑病变的肥大性下橄榄核变性的
目的 分析并评价综合护理干预对毛细支气管炎患儿的效果.方法 将湖南省儿童医院收治的220例毛细支气管炎患儿随机分成干预组与对照组各110例.对照组患儿给予常规疗法以及护理