A family of heuristic search algorithms for feature model optimization

被引:5
|
作者
Emiliano Sanchez, Luis [1 ]
Andres Diaz-Pace, Jorge [1 ]
Zunino, Alejandro [1 ]
机构
[1] UNICEN Univ, ISISTAN Res Inst, Campus Univ, Tandil, Argentina
关键词
Search-based software engineering; Feature modeling; Software product line; Optimization; Heuristic search; SELECTION;
D O I
10.1016/j.scico.2018.12.002
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Feature models are a well-known formalism for capturing variability, commonalities and configuration rules of software systems. These models are a compact representation of the set of products in a software product line or configurations of a system at runtime, in terms of features and logical relationships among them. The feature model optimization problem consists of selecting a valid product from the model that satisfies a set of resource or business restrictions and optimizes an objective function commonly related to user preferences. This problem, although computationally intractable, has been addressed in several works with different algorithms. However, these approaches appeal to simplifications of the problem or present drawbacks that limit their application. For example, several approaches do not contemplate feature interactions, and some of them do not guarantee exact solutions or even valid solutions satisfying complex constraints. In this article, we propose a novel algorithm called CSA that overcomes the performance and common weaknesses of existing approaches. CSA can be parameterized with a set of classic search strategies (Backtracking, Branch & Bound, and Best-First Search) and heuristics that allow us to leverage solution optimality and search efficiency. This makes CSA appropriate for automating decisions both at design-time, where exact solutions are generally required, and at run-time, where selection must be done efficiently but suboptimal solutions are acceptable. The algorithm supports different formats of objective functions, including multi-linear polynomial functions that are capable of representing feature interactions. We present an analysis to validate algorithm properties, and then a series of experiments with synthetic and real models to empirically compare CSA with existing alternatives to show the benefits of our approach. In our analysis, CSA showed to be complete, exact, and scalable for searching approximate solutions. The empirical results showed that the approximate variant of CSA can reach an optimality degree of 99%, against a 84% and 93% reached by other approximate alternatives based on genetic and greedy algorithms respectively. In terms of response time, CSA performed a 72% better than other approximate algorithms. Compared to other exact approaches, CSA improves response time on specific problem types. Furthermore, CSA was evaluated with problem instances involving feature interactions, showing that performance properties scale properly when the number of feature interactions increases. (C) 2018 Elsevier B.V. All rights reserved.
引用
收藏
页码:264 / 293
页数:30
相关论文
共 50 条
  • [1] Evaluating heuristic optimization phase order search algorithms
    Kulkarni, Prasad A.
    Whalley, David B.
    Tyson, Gary S.
    Davidson, Jack W.
    [J]. CGO 2007: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2007, : 157 - +
  • [2] Feature Classification of EEG Signal with Binary Heuristic Optimization Algorithms
    Lee, Tae-Ju
    Park, Seung-Min
    Ko, Kwang-Eun
    Sim, Kwee-Bo
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION AND SYSTEMS (ICCAS 2013), 2013, : 237 - 240
  • [3] Model Driven Rapid Prototyping of Heuristic Optimization Algorithms
    Wagner, Stefan
    Kronberger, Gabriel
    Beham, Andreas
    Winkler, Stephan
    Affenzeller, Michael
    [J]. COMPUTER AIDED SYSTEMS THEORY - EUROCAST 2009, 2009, 5717 : 729 - 736
  • [5] A comparative analysis of meta-heuristic optimization algorithms for feature selection and feature weighting in neural networks
    Diaz, P. M.
    Jiju, M. Julie Emerald
    [J]. EVOLUTIONARY INTELLIGENCE, 2022, 15 (04) : 2631 - 2650
  • [6] A comparative analysis of meta-heuristic optimization algorithms for feature selection and feature weighting in neural networks
    P. M. Diaz
    M. Julie Emerald Jiju
    [J]. Evolutionary Intelligence, 2022, 15 : 2631 - 2650
  • [7] On the heuristic performance of perimeter search algorithms
    López, CL
    [J]. CURRENT TOPICS IN ARTIFICIAL INTELLIGENCE, 2004, 3040 : 445 - 456
  • [8] BCI Control of Heuristic Search Algorithms
    Cavazza, Marc
    Aranyi, Gabor
    Charles, Fred
    [J]. FRONTIERS IN NEUROINFORMATICS, 2017, 11
  • [9] MODELING OF HEURISTIC OPTIMIZATION ALGORITHMS
    Wagner, Stefan
    Kronberger, Gabriel
    Beham, Andreas
    Winkler, Stephan
    Affenzeller, Michael
    [J]. EMSS 2008: 20TH EUROPEAN MODELING AND SIMULATION SYMPOSIUM, 2008, : 106 - 111
  • [10] Ant Colony Optimization for Feature Selection via a Filter-Randomized Search Heuristic
    Ortega, Alberto
    Escobar, Juan Jose
    Damas, Miguel
    Ortiz, Andres
    Gonzalez, Jesus
    [J]. PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION, GECCO 2022, 2022, : 85 - 88