Abstract
Feature models are used to specify members of a product-line. Despite years of progress, contemporary tools often provide limited support for feature constraints and offer little or no support for debugging feature models. We integrate prior results to connect feature models, grammars, and propositional formulas. This connection allows arbitrary propositional constraints to be defined among features and enables off-the-shelf satisfiability solvers to debug feature models. We also show how our ideas can generalize recent results on the staged configuration of feature models.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
American Standard, http://www.americanstandard-us.com/planDesign/
Antkiewicz, M., Czarnecki, K.: FeaturePlugIn: Feature Modeling Plug-In for Eclipse. In: OOPSLA 2004 Eclipse Technology eXchange (ETX) Workshop (2004)
Batory, D., O’Malley, S.: The Design and Implementation of Hierarchical Software Systems with Reusable Components. In: ACM TOSEM (October 1992)
Batory, D., Geraci, B.J.: Composition Validation and Subjectivity in GenVoca Generators. IEEE TSE, 67–82 (February 1997)
Batory, D.: AHEAD Tool Suite, http://www.cs.utexas.edu/users/schwartz/ATS.html
Benavides, D., Trinidad, P., Ruiz-Cortes, A.: Automated Reasoning on Feature Models. In: Conference on Advanced Information Systems Engineering (CAISE) (July 2005)
Beuche, D.: Composition and Construction of Embedded Software Families. Ph.D. thesis, Otto-von-Guericke-Universitaet, Magdeburg, Germany (2003)
Big Lever, GEARS tool, http://www.biglever.com/
Captain Feature, https://sourceforge.net/projects/captainfeature/
Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. MIT Press, Cambridge (1990)
Czarnecki, K., Eisenecker, U.: Generative Programming Methods, Tools, and Applications. Addison-Wesley, Boston (2000)
Czarnecki, K., Helsen, S., Eisenecker, U.: Formalizing Cardinality-based Feature Models and their Specialization. Software Process Improvement and Practice 10(1) (2005)
Czarnecki, K., Helsen, S., Eisenecker, U.: Staged Configuration Through Specialization and Multi-Level Configuration of Feature Models. Software Process Improvement and Practice 10(2) (2005)
Czarnecki, K.: Private correspondence (2005)
Eén, N., Sörensson, N.: An extensible SAT solver. In: Giunchiglia, E., Tacchella, A. (eds.) SAT 2003. LNCS, vol. 2919, pp. 502–518. Springer, Heidelberg (2004)
Forbus, K.D., de Kleer, J.: Building Problem Solvers. MIT Press, Cambridge (1993)
Gateway Computers, http://www.gateway.com/index.shtml
Grechanik, M., Batory, D.: Verification of Dynamically Reconfigurable Applications (2005) (in preparation)
Greenfield, J., Short, K., Cook, S., Kent, S., Crupi, J.: Software Factories: Assembling Applications with Patterns. models Frameworks and Tools. Wiley, Chichester (2004)
de Jong, M., Visser, J.: Grammars as Feature Diagrams
Streitferdt, D., Riebisch, M., Philippow, I.: Details of Formalized Relations in Feature Models Using OCL. In: ECBS 2003, pp. 297–304. IEEE Computer Society, Los Alamitos (2003)
Kang, K., Cohen, S., Hess, J., Nowak, W., Peterson, S.: Feature-Oriented Domain Analysis (FODA) Feasibility Study. Technical Report, CMU/SEI-90TR-21 (November 1990)
Neema, S., Sztipanovits, J., Karsai, G.: Constraint-Based Design Space Exploration and Model Synthesis. In: Alur, R., Lee, I. (eds.) EMSOFT 2003. LNCS, vol. 2855, pp. 290–305. Springer, Heidelberg (2003)
Lopez-Herrejon, R.E., Batory, D.: A standard problem for evaluating product-line methodologies. In: Bosch, J. (ed.) GCSE 2001. LNCS, vol. 2186, pp. 10–24. Springer, Heidelberg (2001)
Mannion, M.: Using first-order logic for product line model validation. In: Chastek, G.J. (ed.) SPLC 2002. LNCS, vol. 2379, pp. 176–187. Springer, Heidelberg (2002)
Pure-Systems, Technical White Paper: Variant Management with pure:variants (2003), http://www.pure-systems.com
Teitelbaum, T., Reps, T.: The Cornell Program Synthesizer: a Syntax-Directed Programming Environment. CACM 24(9), 563–573 (1981)
Zave, P.: FAQ Sheet on Feature Interactions, http://www.research.att.com/~pamela/faq.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Batory, D. (2005). Feature Models, Grammars, and Propositional Formulas. In: Obbink, H., Pohl, K. (eds) Software Product Lines. SPLC 2005. Lecture Notes in Computer Science, vol 3714. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11554844_3
Download citation
DOI: https://doi.org/10.1007/11554844_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-28936-4
Online ISBN: 978-3-540-32064-7
eBook Packages: Computer ScienceComputer Science (R0)