Reasoning on UML class diagrams

被引:271
|
作者
Berardi, D
Calvanese, D
De Giacomo, G
机构
[1] Univ Roma La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
[2] Free Univ Bolzano Bozen, Fac Comp Sci, I-39100 Bolzano, Italy
关键词
knowledge representation; description logics; UML class diagrams; computational complexity; verification; CASE tools;
D O I
10.1016/j.artint.2005.05.003
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
UML is the de-facto standard formalism for software design and analysis. To support the design of large-scale industrial applications, sophisticated CASE tools are available on the market, that provide a user-friendly environment for editing, storing, and accessing multiple UNIL diagrams. It would be highly desirable to equip such CASE tools with automated reasoning capabilities, such as those studied in Artificial Intelligence and, in particular, in Knowledge Representation and Reasoning. Such capabilities would allow to automatically detect relevant formal properties of UML diagrams, such as inconsistencies or redundancies. With regard to this issue, we consider UML class diagrams, which are one of the most important components of UML, and we address the problem of reasoning on such diagrams. We resort to several results developed in the field of Knowledge Representation and Reasoning, regarding Description Logics (DLs), a family of logics that admit decidable reasoning procedures. Our first contribution is to show that reasoning on UML class diagrams is EXPTIME-hard, even under restrictive assumptions; we prove this result by showing a polynomial reduction from reasoning in DLs. The second contribution consists in establishing EXPTIME-membership of reasoning on UML class diagrams, provided that the use of arbitrary OCL (first-order) constraints is disallowed. We get this result by using DLRifd, a very expressive EXPTIME-decidable DL that has been developed to capture typical features of conceptual and object-oriented data models. ne last contribution has a more practical flavor, and consists in a polynomial encoding of UML class diagrams in the DL ALCQI, which essentially is the most expressive DL supported by current state-of-the-art DL-based reasoning systems. Though less expressive than DLRifd, the DL ALC QI preserves enough semantics to keep reasoning about UML class diagrams sound and complete. Exploiting such an encoding, one can use current DL-based reasoning systems as core reasoning engines for a next generation of CASE tools, that are equipped with reasoning capabilities on UML class diagrams. (c) 2005 Elsevier B.V. All rights reserved.
引用
收藏
页码:70 / 118
页数:49
相关论文
共 50 条
  • [31] A Formal Specification of UML Class and State Diagrams
    Hu, Gongzhu
    [J]. SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, 2008, 149 : 247 - 257
  • [32] Guidelines on the aesthetic quality of UML class diagrams
    Eichelberger, Holger
    Schmid, Klaus
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (12) : 1686 - 1698
  • [33] Expressing UML class diagrams properties with OCL
    Gogolla, M
    Richters, M
    [J]. OBJECT MODELING WITH THE OCL: THE RATIONALE BEHIND THE OBJECT CONSTRAINT LANGUAGE, 2002, 2263 : 85 - 114
  • [34] Structural complexity metrics for UML class diagrams
    Kong, Qing-Yan
    Lun, Li-Jun
    Wang, Yi-He
    Ding, Xue-Mei
    [J]. 2008, Harbin Institute of Technology, P.O. Box 136, Harbin, 150001, China (15)
  • [35] A structural complexity measure for UML class diagrams
    Xu, BW
    Kang, DH
    Lu, JJ
    [J]. COMPUTATIONAL SCIENCE - ICCS 2004, PT 1, PROCEEDINGS, 2004, 3036 : 421 - 424
  • [36] Translating semantic networks to UML class diagrams
    Barashev, Ivan
    [J]. KNOWLEDGE-BASED AND INTELLIGENT INFORMATION & ENGINEERING SYSTEMS: PROCEEDINGS OF THE 20TH INTERNATIONAL CONFERENCE KES-2016, 2016, 96 : 946 - 950
  • [37] Consistency Checking of UML Class and Sequence Diagrams
    Ekanayake, E. M. N. K.
    Kodituwakku, Saluka R.
    [J]. 2015 8TH INTERNATIONAL CONFERENCE ON UBI-MEDIA COMPUTING (UMEDIA) CONFERENCE PROCEEDINGS, 2015, : 98 - 103
  • [38] MEASURING STRUCTURE COMPLEXITY OF UML CLASS DIAGRAMS
    Zhou Yuming Xu Baowen (Dept. of Computer Science & Eng.
    [J]. Journal of Electronics(China), 2003, (03) : 227 - 231
  • [39] Refactoring OCL annotated UML class diagrams
    Slaviša Marković
    Thomas Baar
    [J]. Software & Systems Modeling, 2008, 7 : 25 - 47
  • [40] Redesign of UML class diagrams: a formal approach
    Piotr Kosiuczenko
    [J]. Software & Systems Modeling, 2009, 8 : 165 - 183