Feinerer, I., & Salzer, G. (2014). Numeric semantics of class diagrams with multiplicity and uniqueness constraints. Software and Systems Modeling, 13(3), 1167–1187. https://doi.org/10.1007/s10270-012-0294-4
E192-05 - Forschungsbereich Theory and Logic E192-02 - Forschungsbereich Databases and Artificial Intelligence
-
Journal:
Software and Systems Modeling
-
ISSN:
1619-1366
-
Date (published):
Jul-2014
-
Number of Pages:
21
-
Publisher:
SPRINGER HEIDELBERG
-
Peer reviewed:
Yes
-
Keywords:
Modeling and Simulation; Software
-
Abstract:
We translate class diagrams with multiplicity constraints and uniqueness attributes to inequalities over non-negative integers. Based on this numeric semantics we check the satisfiability and consistency of class diagrams and compute minimal models. We show that this approach is efficient and provides succinct user feedback in the case of errors. In an experimental section we demonstrate that general off-the-shelf solvers for integer linear programming perform as well on real-world and synthetic benchmarks as specialised algorithms do, facilitating the extension of the formal model by further numeric constraints like cost functions. Our results are embedded in a research programme on reasoning about class diagrams and are motivated by applications in configuration management. Compared to other (for instance logic-based) approaches our aim is to hide the complexity of formal methods behind familiar user interfaces like class diagrams and to concentrate on problems that can be solved efficiently in order to be able to provide immediate feedback to users.