Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3646548.3676539acmconferencesArticle/Chapter ViewAbstractPublication PagessplcConference Proceedingsconference-collections
research-article

Mapping Cardinality-based Feature Models to Weighted Automata over Featured Multiset Semirings

Published: 02 September 2024 Publication History

Abstract

Cardinality-based feature models permit to select multiple copies of the same feature, thus generalizing the notion of product configurations from subsets of Boolean features to multisets of feature instances. This increased expressiveness shapes a-priori infinite and non-convex configuration spaces, which renders established solution-space mappings based on Boolean presence conditions insufficient for cardinality-based feature models. To address this issue, we propose weighted automata over featured multiset semirings as a novel behavioral variability modeling formalism for cardinality-based feature models. The formalism uses multisets over features as a predefined semantic domain for transition weights. It permits to use any algebraic structure forming a proper semiring on multisets to aggregate the weights traversed along paths to map accepted words to multiset configurations. In particular, tropical semirings constitute a promising sub-class with a reasonable trade-off between expressiveness and computational tractability of canonical analysis problems. The formalism is strictly more expressive than featured transition systems, as it enables upper-bound multiplicity constraints depending on the length of words. We provide a tool implementation of the behavioral variability model and present preliminary experimental results showing applicability and computational feasibility of the proposed approach.

References

[1]
Shaull Almagor, Udi Boker, and Orna Kupferman. 2022. What’s decidable about weighted automata?Information and Computation 282 (2022), 104651.
[2]
Sven Apel, Don S. Batory, Christian Kästner, and Gunter Saake. 2013. Feature-Oriented Software Product Lines. In Springer Berlin Heidelberg. https://api.semanticscholar.org/CorpusID:28767337
[3]
Kacper Bąk, Zinovy Diskin, Michał Antkiewicz, Krzysztof Czarnecki, and Andrzej Wąsowski. 2016. Clafer: unifying class and feature modeling. Software & Systems Modeling 15 (2016), 811–845.
[4]
Davide Basile, Maurice H Ter Beek, Felicita Di Giandomenico, and Stefania Gnesi. 2017. Orchestration of dynamic service product lines with featured modal contract automata. In Proceedings of the 21st International Systems and Software Product Line Conference-Volume B. 117–122.
[5]
Don Batory. 2005. Feature Models, Grammars, and Propositional Formulas. In Software Product Lines, Henk Obbink and Klaus Pohl (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 7–20.
[6]
Fabian Benduhn, Thomas Thüm, Malte Lochau, Thomas Leich, and Gunter Saake. 2015. A survey on modeling techniques for formal behavioral verification of software product lines. In Proceedings of the 9th International Workshop on Variability Modelling of Software-Intensive Systems. 80–87.
[7]
Nikola Beneš, Jan Křetínskỳ, Kim G Larsen, Mikael H Møller, and Jiří Srba. 2011. Parametric modal transition systems. In Automated Technology for Verification and Analysis: 9th International Symposium, ATVA 2011, Taipei, Taiwan, October 11-14, 2011. Proceedings 9. Springer, 275–289.
[8]
Andreas Classen, Maxime Cordy, Pierre-Yves Schobbens, Patrick Heymans, Axel Legay, and Jean-François Raskin. 2012. Featured transition systems: Foundations for verifying variability-intensive systems and their application to LTL model checking. IEEE Transactions on Software Engineering 39, 8 (2012), 1069–1089.
[9]
Maxime Cordy, Pierre-Yves Schobbens, Patrick Heymans, and Axel Legay. 2012. Behavioural modelling and verification of real-time software product lines. In Proceedings of the 16th International Software Product Line Conference-Volume 1. 66–75.
[10]
Krzysztof Czarnecki and Michał Antkiewicz. 2005. Mapping Features to Models: A Template Approach Based on Superimposed Variants. In Generative Programming and Component Engineering, Robert Glück and Michael Lowry (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 422–437.
[11]
Krzysztof Czarnecki, Simon Helsen, and Ulrich Eisenecker. 2005. Formalizing cardinality-based feature models and their specialization. Software process: Improvement and practice 10, 1 (2005), 7–29.
[12]
Krzysztof Czarnecki and Chang Hwan Peter Kim. 2005. Cardinality-based feature modeling and constraints: A progress report. In International Workshop on Software Factories. ACM San Diego, California, USA, 16–20.
[13]
Manfred Droste and Paul Gastin. 2009. Weighted automata and weighted logics. In Handbook of weighted automata. Springer, 175–211.
[14]
Manfred Droste, Werner Kuich, and Heiko Vogler. 2009. Handbook of weighted automata. Springer Science & Business Media.
[15]
Manfred Droste and Dietrich Kuske. 2021. Weighted automata.
[16]
Manfred Droste and Vitaly Perevoshchikov. 2016. Multi-weighted automata and MSO logic. Theory of Computing Systems 59, 2 (2016), 231–261.
[17]
Uli Fahrenberg and Axel Legay. 2017. Featured weighted automata. In 2017 IEEE/ACM 5th International FME Workshop on Formal Methods in Software Engineering (FormaliSE). IEEE, 51–57.
[18]
Uli Fahrenberg and Axel Legay. 2019. Quantitative properties of featured automata. International Journal on Software Tools for Technology Transfer 21 (2019), 667–677.
[19]
Dario Fischbein, Sebastian Uchitel, and Victor Braberman. 2006. A foundation for behavioural conformance in software product line architectures. In Proceedings of the ISSTA 2006 workshop on Role of software architecture for testing and analysis. 39–48.
[20]
Lukas Güthing, Mathis Weiß, Ina Schaefer, and Malte Lochau. 2024. Sampling Cardinality-Based Feature Models. In Proceedings of the 18th International Working Conference on Variability Modelling of Software-Intensive Systems(VaMoS ’24). Association for Computing Machinery, New York, NY, USA, 46–55. https://doi.org/10.1145/3634713.3634719
[21]
Vanderson Hafemann Fragal, Adenilso Simao, and Mohammad Reza Mousavi. 2016. Validated test models for software product lines: Featured finite state machines. In International Workshop on Formal Aspects of Component Software. Springer, 210–227.
[22]
Jasper Hoogland. 2024. JAutomata: An automata library in Java. https://github.com/jasperhoogland/jautomata [Accessed: April, 2024].
[23]
Paulius Juodisius, Atrisha Sarkar, Raghava Rao Mukkamala, Michal Antkiewicz, Krzysztof Czarnecki, and Andrzej Wasowski. 2018. Clafer: Lightweight modeling of structure, behaviour, and variability. arXiv preprint arXiv:1807.08576 (2018).
[24]
K Kang, S Cohen, J Hess, W Nowak, and S Peterson. 1990. Feature-Oriented Domain Analysis (FODA) Technical Report. Technical Report. CMU/SEI-90-TR-21, Software Engineering Institute, Carnegie Mellon.
[25]
Jörg Liebig, Sven Apel, Christian Lengauer, Christian Kästner, and Michael Schulze. 2010. An Analysis of the Variability in Forty Preprocessor-Based Software Product Lines. Proceedings - International Conference on Software Engineering 1. https://doi.org/10.1145/1806799.1806819
[26]
Lars Luthmann, Stephan Mennicke, and Malte Lochau. 2015. Towards an I/O conformance testing theory for software product lines based on modal interface automata. arXiv preprint arXiv:1504.03473 (2015).
[27]
Robert Manger. 2008. A catalogue of useful composite semirings for solving path problems in graphs. In Proceedings of the 11th International Conference on Operational Research (KOI 2006).
[28]
Jens Meinicke, Thomas Thüm, Reimar Schröter, Fabian Benduhn, Thomas Leich, and Gunter Saake. 2017. Mastering Software Variability with FeatureIDE. https://doi.org/10.1007/978-3-319-61443-4
[29]
Marcílio Mendonça, Andrzej Wasowski, and Krzysztof Czarnecki. 2009. SAT-based analysis of feature models is easy. SPLC, 231–240. https://doi.org/10.1145/1753235.1753267
[30]
Mehryar Mohri 2002. Semiring frameworks and algorithms for shortest-distance problems. Journal of Automata, Languages and Combinatorics 7, 3 (2002), 321–350.
[31]
Radu Muschevici, José Proença, and Dave Clarke. 2016. Feature nets: behavioural modelling of software product lines. Software & Systems Modeling 15 (2016), 1181–1206.
[32]
Robert Müller, Mathis Weiß, and Malte Lochau. 2024. Mapping Cardinality-based Feature Models to Weighted Automata over Featured Multiset Semirings - Artifact. (6 2024). https://doi.org/10.6084/m9.figshare.25976746.v2
[33]
Robert Müller, Mathis Weiß, and Malte Lochau. 2024. Mapping Cardinality-based Feature Models to Weighted Automata over Featured Multiset Semirings (Extended Version). arxiv:2407.04499 [cs.SE] https://arxiv.org/abs/2407.04499
[34]
Jean-Eric Pin. 1998. Tropical semirings. Idempotency (Bristol, 1994) (1998), 50–69.
[35]
Hendrik Post and Carsten Sinz. 2008. Configuration Lifting: Verification meets Software Configuration. In 2008 23rd IEEE/ACM International Conference on Automated Software Engineering. 347–350. https://doi.org/10.1109/ASE.2008.45
[36]
Clément Quinton, Daniel Romero, and Laurence Duchien. 2013. Cardinality-based feature models with constraints: a pragmatic approach. In Proceedings of the 17th International Software Product Line Conference. 162–166.
[37]
Björn Richerzhagen, Dominik Stingl, Ronny Hans, Christian Gross, and Ralf Steinmetz. 2014. Bypassing the cloud: Peer-assisted event dissemination for augmented reality games. In 14-th IEEE International Conference on Peer-to-Peer Computing. IEEE, 1–10.
[38]
Thomas Schnabel, Markus Weckesser, Roland Kluge, Malte Lochau, and Andy Schürr. 2016. Cardygan: Tool support for cardinality-based feature models. In Proceedings of the 10th International Workshop on Variability Modelling of Software-Intensive Systems. 33–40.
[39]
Gustavo Sousa, Walter Rudametkin, and Laurence Duchien. 2016. Extending feature models with relative cardinalities. In Proceedings of the 20th International Systems and Software Product Line Conference. 79–88.
[40]
Maurice H ter Beek, Guillermina Cledou, Rolf Hennicker, and José Proença. 2021. Featured team automata. In Formal Methods: 24th International Symposium, FM 2021, Virtual Event, November 20–26, 2021, Proceedings 24. Springer, 483–502.
[41]
Maurice H ter Beek, Alessandro Fantechi, Stefania Gnesi, and Franco Mazzanti. 2016. Modelling and analysing variability in product families: Model checking of modal transition systems with variability constraints. Journal of Logical and Algebraic Methods in Programming 85, 2 (2016), 287–315.
[42]
Maurice H ter Beek and Axel Legay. 2019. Quantitative variability modeling and analysis. In Proceedings of the 13th International Workshop on Variability Modelling of Software-Intensive Systems. 1–2.
[43]
Thomas Thüm, Sven Apel, Christian Kästner, Ina Schaefer, and Gunter Saake. 2014. A Classification and Survey of Analysis Strategies for Software Product Lines. ACM Comput. Surv. 47, 1, Article 6 (jun 2014), 45 pages. https://doi.org/10.1145/2580950
[44]
Markus Weckesser, Malte Lochau, Michael Ries, and Andy Schürr. 2018. Mathematical Programming for Anomaly Analysis of Clafer Models. In Proceedings of the 21th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems (Copenhagen, Denmark) (MODELS ’18). Association for Computing Machinery, New York, NY, USA, 34–44. https://doi.org/10.1145/3239372.3239398
[45]
Markus Weckesser, Malte Lochau, Thomas Schnabel, Björn Richerzhagen, and Andy Schürr. 2016. Mind the gap! Automated anomaly detection for potentially unbounded cardinality-based feature models. In Fundamental Approaches to Software Engineering: 19th International Conference, FASE 2016, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2016, Eindhoven, The Netherlands, April 2–8, 2016, Proceedings 19. Springer, 158–175.

Index Terms

  1. Mapping Cardinality-based Feature Models to Weighted Automata over Featured Multiset Semirings

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SPLC '24: Proceedings of the 28th ACM International Systems and Software Product Line Conference
    September 2024
    103 pages
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 02 September 2024

    Permissions

    Request permissions for this article.

    Check for updates

    Badges

    Author Tags

    1. Behavioral Variability Modeling
    2. Cardinality-Based Feature Models
    3. Weighted Automata

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Funding Sources

    Conference

    SPLC '24
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 167 of 463 submissions, 36%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 27
      Total Downloads
    • Downloads (Last 12 months)27
    • Downloads (Last 6 weeks)3
    Reflects downloads up to 25 Nov 2024

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media