Clafer: Unifying Class and Feature Modeling
- Kacper Bąk,
- Zinovy Diskin,
- Michal Antkiewicz,
- Krzysztof Czarnecki,
- University of Waterloo
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOpen Access
Resume
We present Clafer (class, feature, reference), a class modeling language with first-class support for feature modeling. We designed Clafer as a concise notation for meta-models, feature models, mixtures of meta- and feature models (such as components with options), and models that couple feature models and meta-models via constraints (such as mapping feature configurations to component configurations or model templates). Clafer allows arranging models into multiple specialization and extension layers via constraints and inheritance. We identify several key mechanisms allowing a meta-modeling language to express feature models concisely. Clafer unifies basic modeling constructs, such as class, association, and property, into a single construct, called clafer. We provide the language with a formal semantics built in a structurally explicit way. The resulting semantics explains the meaning of hierarchical models whereby properties can be arbitrarily nested in the presence of inheritance and feature modeling constructs. The semantics also enables building consistent automated reasoning support for the language: To date, we implemented three reasoners for Clafer based on Alloy, Z3 SMT, and Choco3 CSP solvers. We show that Clafer meets its design objectives using examples and by comparing to other languages.
Publikation information
Produktionstype
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOriginalsprog
EngelskSider fra-til (Antal sider)
Sider 1-35 (34 sider)Tidsskrift (Bind, Nummer)
Software and Systems ModelingPublikationsmilepæle
- Udgivet - 2015
Publikationsstatus
Udgivet - 2015
ISSN
1619-1366Publication IDs
- Scopus: 84917709136
Metrikker
PlumX, åbner i en ny fane
Hentninger
41
Antal citationer
83
Adgang til dokumenter
Accepteret manuskript, 1.47 MB
