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 条
  • [41] Structural complexity metrics for UML class diagrams
    孔庆彦
    伦立军
    王义和
    丁雪梅
    [J]. Journal of Harbin Institute of Technology(New series), 2008, (02) : 211 - 214
  • [42] Consistency of UML class diagrams with hierarchy constraints
    Balaban, Mira
    Maraee, Azzarn.
    [J]. NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, PROCEEDINGS, 2006, 4032 : 71 - 82
  • [43] Redesign of UML class diagrams: a formal approach
    Kosiuczenko, Piotr
    [J]. SOFTWARE AND SYSTEMS MODELING, 2009, 8 (02): : 165 - 183
  • [44] Finite Satisfiability of UML Class Diagrams with Constrained Class Hierarchy
    Balaban, Mira
    Maraee, Azzam
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2013, 22 (03) : 1 - 42
  • [45] A Coalgebraic Semantic Framework for Reasoning about UML Sequence Diagrams
    Meng, Sun
    Barbosa, Luis S.
    [J]. QSIC 2008: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2008, : 17 - +
  • [46] From UML Class Diagrams to Aspect-Oriented Class Diagrams Using Graph Transformation
    Aouag, Mouna
    Chaoui, Allaoua
    [J]. 2013 INTERNATIONAL CONFERENCE ON CONTROL, DECISION AND INFORMATION TECHNOLOGIES (CODIT), 2013, : 458 - 463
  • [47] Model and Criteria for the Automated Refactoring of the UML Class Diagrams
    Nikulchev, Evgeny
    Deryugina, Olga
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (12) : 76 - 79
  • [48] On evaluating the layout of UML class diagrams for program comprehension
    Sun, D
    Wong, K
    [J]. 13TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2005, : 317 - 326
  • [49] Retrieval of UML Class Diagrams Based on Semantics and Structure
    Yuan, Zhong-Chen
    Ma, Zong-Min
    [J]. Dongbei Daxue Xuebao/Journal of Northeastern University, 2020, 41 (01): : 23 - 28
  • [50] From Natural Language Requirements to UML Class Diagrams
    Sharma, Richa
    Srivastava, Pratyoush K.
    Biswas, Kanad K.
    [J]. SECOND INTERNATIONAL WORKSHOP ON ARTIFICIAL INTELLIGENCE FOR REQUIREMENTS ENGINEERING (AIRE 2015), 2015, : 25 - 32