To Preserve or Not to Preserve Invalid Solutions in Search-Based Software Engineering: A Case Study in Software Product Lines

被引:7
作者
Guo, Jianmei [1 ]
Shi, Kai [2 ]
机构
[1] Alibaba Grp, Hangzhou, Zhejiang, Peoples R China
[2] East China Univ Sci & Technol, Shanghai, Peoples R China
来源
PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2018年
基金
中国国家自然科学基金;
关键词
Search-based software engineering; software product lines; multi-objective evolutionary algorithms; constraint solving; validity; VARIABILITY MODELS; FEATURE-SELECTION; OPTIMIZATION;
D O I
10.1145/3180155.3180163
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Multi-objective evolutionary algorithms (MOEAs) have been successfully applied for software product lines (SPLs) to search for optimal or near-optimal solutions that balance multiple objectives. However, MOEAs usually produce invalid solutions that violate the constraints predefined. As invalid solutions are unbuildable in practice, we debate the preservation of invalid solutions during the search. We conduct experiments on seven real-world SPLs, including five largest SPLs hitherto reported and two SPLs with realistic values and constraints of quality attributes. We identify three potential limitations of preserving invalid solutions. Furthermore, based on the state-of-the-art, we design five algorithm variants that adopt different evolutionary operators. By performance evaluation, we provide empirical guidance on how to preserve valid solutions. Our empirical study demonstrates that whether or not to preserve invalid solutions deserves more attention in the community, and in some cases, we have to preserve valid solutions all along the way.
引用
收藏
页码:1027 / 1038
页数:12
相关论文
共 78 条
[1]   Analysing the fitness landscape of search-based software testing problems [J].
Aleti, Aldeida ;
Moser, I. ;
Grunske, Lars .
AUTOMATED SOFTWARE ENGINEERING, 2017, 24 (03) :603-621
[2]   Software Architecture Optimization Methods: A Systematic Literature Review [J].
Aleti, Aldeida ;
Buhnova, Barbora ;
Grunske, Lars ;
Koziolek, Anne ;
Meedeniya, Indika .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (05) :658-683
[3]   A Systematic Review of the Application and Empirical Investigation of Search-Based Test Case Generation [J].
Ali, Shaukat ;
Briand, Lionel C. ;
Hemmati, Hadi ;
Panesar-Walawege, Rajwinder K. .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (06) :742-762
[4]  
[Anonymous], 2013, P 17 INT SOFTW PROD, DOI [DOI 10.1145/2491627.2491635, 10.1145/2491627.2491635]
[5]  
[Anonymous], 2017, FORUM DOCTORAL CONSO
[6]  
[Anonymous], PROC INT CONF SOFTW
[7]  
[Anonymous], 1990, SEI90TR21 CMU
[8]  
[Anonymous], 2015, P 2015 INT S SOFTWAR, DOI DOI 10.1145/2771783.2771808
[9]  
[Anonymous], 2016, Feature-Oriented Software Product Lines
[10]  
[Anonymous], P 1 INT WORKSH AN SO