Model-Driven Generation of Context-Specific Feature Models

Software Product Lines (SPL) aim at deriving software architectures or systems from a software artifact base. Configuring the SPL to derive a new product is now usually done by selecting appropriate software features in a kind of models, called feature models. In some situations, a feature represents a software artifact associated to an element e of a context the software product will manage. Such a feature and its associated software artifact may be cloned according to the number of occurrences of e in the context and constraints have to be respected. Hence, the feature model proposed to users for configuration has to be adapted in a new dedicated phase according to the context elements. We propose a model-driven engineering approach for transforming a generic feature model according to a context model that a derived software product will manage. More precisely this paper describes an original model transformation able to generate context specific feature models including duplicated features, and removing inappropriate features. Our transformation is validated on a smart building optimization software case study.

[1]  Chouki Tibermacine,et al.  Design of a UML profile for feature diagrams and its tooling implementation , 2011, SEKE.

[2]  Chouki Tibermacine,et al.  Towards Software Product Lines Application in the Context of a Smart Building Project , 2010 .

[3]  Krzysztof Czarnecki,et al.  Formalizing cardinality-based feature models and their specialization , 2005, Softw. Process. Improv. Pract..

[4]  Ricardo Jardim-Goncalves,et al.  Challenging electronic procurement in the AEC sector: A BIM-based integrated perspective , 2011 .

[5]  Mathieu Acher,et al.  Modeling Context and Dynamic Adaptations with Feature Models , 2009 .

[6]  Pierre-Yves Schobbens,et al.  Generic semantics of feature diagrams , 2007, Comput. Networks.

[7]  Cláudia Maria Lima Werner,et al.  An Approach for Feature Modeling of Context-Aware Software Product Line , 2011, J. Univers. Comput. Sci..

[8]  Xiaodong Liu,et al.  Mapping Features to Context Information: Supporting Context Variability for Context-Aware Pervasive Applications , 2010, 2010 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology.

[9]  Krzysztof Czarnecki,et al.  Formalizing Cardinality-based Feature Models and their Staged Configuration , 2004 .

[10]  Krzysztof Czarnecki,et al.  Staged Configuration Using Feature Models , 2004, SPLC.

[11]  Krzysztof Czarnecki,et al.  Generative Programming for Embedded Software: An Industrial Experience Report , 2002, GPCE.

[12]  Laurence Duchien,et al.  Using multiple feature models to design applications for mobile phones , 2011, SPLC '11.

[13]  Iris Groher,et al.  Product Line Implementation using Aspect-Oriented and Model-Driven Software Development , 2007, 11th International Software Product Line Conference (SPLC 2007).

[14]  Raphael Romeikat,et al.  Modeling of Domain-Specific ECA Policies , 2011, SEKE.

[15]  Henrik W. Bindner,et al.  Using Rules in High-Level Communication for the Control of Power Systems , 2011 .