Journal of shanghai Jiaotong University (Science) ›› 2014, Vol. 19 ›› Issue (1): 50-58.doi: 10.1007/s12204-013-1468-0

Previous Articles     Next Articles

Ant Colony Optimization for Feature Selection in Software Product Lines

Ant Colony Optimization for Feature Selection in Software Product Lines

WANG Ying-lin1,2* (王英林), PANG Jin-wei2 (庞金伟)   

  1. (1. School of Information Management and Engineering, Shanghai University of Finance and Economics, Shanghai 200433, China; 2. Department of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200240, China)
  2. (1. School of Information Management and Engineering, Shanghai University of Finance and Economics, Shanghai 200433, China; 2. Department of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200240, China)
  • Online:2014-01-15 Published:2014-01-15
  • Contact: WANG Ying-lin(王英林) E-mail:dr.y.wang@ieee.org

Abstract: Software product lines (SPLs) are important software engineering techniques for creating a collection of similar software systems. Software products can be derived from SPLs quickly. The process of software product derivation can be modeled as feature selection optimization with resource constraints, which is a nondeterministic polynomial-time hard (NP-hard) problem. In this paper, we present an approach that using ant colony optimization to get an approximation solution of the problem in polynomial time. We evaluate our approach by comparing it to two important approximation techniques. One is filtered Cartesian flattening and modified heuristic (FCF+M-HEU) algorithm, the other is genetic algorithm for optimized feature selection (GAFES). The experimental results show that our approach performs 6% worse than FCF+M-HEU with reducing much running time. Meanwhile, it performs 10% better than GAFES with taking more time.

Key words: ant colony optimization| ant colony system| software product lines| feature model

摘要: Software product lines (SPLs) are important software engineering techniques for creating a collection of similar software systems. Software products can be derived from SPLs quickly. The process of software product derivation can be modeled as feature selection optimization with resource constraints, which is a nondeterministic polynomial-time hard (NP-hard) problem. In this paper, we present an approach that using ant colony optimization to get an approximation solution of the problem in polynomial time. We evaluate our approach by comparing it to two important approximation techniques. One is filtered Cartesian flattening and modified heuristic (FCF+M-HEU) algorithm, the other is genetic algorithm for optimized feature selection (GAFES). The experimental results show that our approach performs 6% worse than FCF+M-HEU with reducing much running time. Meanwhile, it performs 10% better than GAFES with taking more time.

关键词: ant colony optimization| ant colony system| software product lines| feature model

CLC Number: