Skip to main content

Incremental Consistency Checking of Heterogeneous Multimodels

  • Conference paper
  • First Online:
Software Technologies: Applications and Foundations (STAF 2016)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 9946))

Abstract

The local approaches to global consistency checking (GCC) of heterogeneous multimodels strive to reduce the model merging and matching workload within GCC. The paper’s contribution to such approaches is a framework allowing the user to do matching incrementally: to build the match required for checking the multimodel w.r.t. a new constraint, the user employs matches produced in previous GCC sessions.

This work is supported by the Automotive Partnership Canada via the Network on Engineering Complex Software Intensive Systems (NECSIS).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In Fig. 3, \(G_1^{c@\delta }\) comprises classes, interfaces, and operations; \(G_2^{c@\delta }\) contains classes, interfaces, and attributes.

  2. 2.

    Recall the fact that \(B_i^{c@\delta }, A_i^{c@\delta }\), and \(A_i\) are typed graphs, such that the arrows of the form \({^{\mathsf {pb}}}\rightarrow \) depict morphism pairs in a pullback square, cf. Sect. 3.1.

  3. 3.

    Hence, in Fig. 3, \(G_0^{c@\delta }\) contains only certain classes.

  4. 4.

    A thin category is nothing but a partially preordered (big) set: for any pair of objects, the set of mediating arrows between them is either empty or a singleton.

  5. 5.

    It is easy to show that \(G'\) is equipped with a graph structure in a unique way, see, e.g., [3].

  6. 6.

    But \(f;g\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow C\) and \(f\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow B\) do not, in general, imply \(g\!:B \;{}^{\mathsf {pb}}\!\!\rightarrow C\).

References

  1. Diskin, Z., Xiong, Y., Czarnecki, K.: Specifying overlaps of heterogeneous models for global consistency checking. In: Dingel, J., Solberg, A. (eds.) MODELS 2010. LNCS, vol. 6627, pp. 165–179. Springer, Heidelberg (2011). doi:10.1007/978-3-642-21210-9_16

    Chapter  Google Scholar 

  2. Egyed, A.: Fixing inconsistencies in UML design models. In: ICSE. pp. 292–301 (2007)

    Google Scholar 

  3. Ehrig, H., Ehrig, K., Prange, U., Taentzer, G.: Fundamentals of Algebraic Graph Tranformations. Springer, Heidelberg (2006)

    MATH  Google Scholar 

  4. König, H., Diskin, Z.: Advanced local checking of global consistency in heterogeneous multimodeling. In: Modelling Foundations and Applications - 12th European Conference, ECMFA 2016, Held as Part of STAF 2016, Vienna, Austria, July 6-7, 2016, Proceedings, pp. 19–35 (2016). http://dx.doi.org/10.1007/978-3-319-42061-5_2

    Google Scholar 

  5. Lamo, Y., Wang, X., Mantz, F., Bech, Ø., Sandven, A., Rutle, A.: DPF workbench: a multi-level language workbench for MDE. In: Proceedings of the Estonian Academy of Sciences, vol. 62, pp. 3–15 (2013)

    Google Scholar 

  6. Melnik, S., Garcia-Molina, H., Rahm, E.: Similarity flooding: a versatile graph matching algorithm and its application to schema matching. In: ICDE, pp. 117–128. IEEE Computer Society (2002)

    Google Scholar 

  7. Nentwich, C., Emmerich, W., Finkelstein, A.: Consistency management with repair actions. In: ICSE, pp. 455–464 (2003)

    Google Scholar 

  8. Rutle, A., Rabbi, F., MacCaull, W., Lamo, Y.: A user-friendly tool for model checking healthcare workflows. In: (EUSPN-2013) and ICTH, pp. 317–326 (2013). http://dx.doi.org/10.1016/j.procs.2013.09.042

    Google Scholar 

  9. Sabetzadeh, M., Nejati, S., Liaskos, S., Easterbrook, S., Chechik, M.: Consistency checking of conceptual models via model merging. In: RE, pp. 221–230 (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Harald König .

Editor information

Editors and Affiliations

A Appendix. Some Operations Over Graphs and Models

A Appendix. Some Operations Over Graphs and Models

Two operations over graphs and graph morphisms heavily employed in the paper are sketched below; a detailed specification can be found in, say, [3].

Coproducts. The coproduct \(G_1 + G_2\) of two graphs \(G_1, G_2\) is their disjoint union. Importantly, any coproduct is endowed with two canonic injections \(i_k\!:\,G_k\,\hookrightarrow \,G_1+G_2\), \(k=1,2\), which map each element to itself in the union.

Any pair of graph morphisms \(f_{1,2}:G_{1,2}\rightarrow H\) gives rise to a unique morphism \([f_1,f_2]:G_1+G_2\rightarrow H\) compatible with injections: \(i_{1,2}; [f_1,f_2] = f_{1,2}\). This property of coproducts is called universality and morphism specified above universal. It is easy to see that universality allows us to define the following operation over models (typed graphs): having typed graphs \(A_1\), \(A_2\) we define \(A=A_1+A_2\) by setting \(G_A=G_1+G_2\), \(M_A=M_1+M_2\) and \(\tau _A=[\tau _1;i_1,\tau _2;i_2]\) where \(i_{1,2}\!:\,M_{1,2}\,\hookrightarrow \,M_A\) are coporduct injections.

figure b

Restriction/Retyping and Pullbacks. Given a model \(A=(M,G,\tau )\) and a type graph map as shown in the inset diagram, we can define a new model \(A'=(G',\tau ')\) over \(M'\) by setting \(G'=\left\{ {e=(t,x)}| \;{t\in M', x\in G, f(t)=\tau (x)}\right\} \) Footnote 5 with projection mappings \(\tau '(e)=t\) and \(f'(e)=x\). Further in the paper, we will often denote map \(f'\) by \(\tau ^*(f)\) and say that it is obtained by pulling f back along \(\tau \), and similarly \(\tau '=f^*(\tau )\) is obtained by pulling \(\tau \) back along f; correspondingly, the entire operation of producing a span \((\tau ', f')\) from cospan \((\tau ,f)\) is called pull-back(PB) (of graphs).

If f is inclusion, then PB provides the (retyped) restriction of model A over the \(M'\) part of the metamodel graph. Pullback operation can be seen as a generalization of model restriction for arbitrary mappings f, and we will often call it so. As any PB square is commutative, we can consider it as a special model morphism, which we will denote by a special arrow \(f\!:A' \;{}^{\mathsf {pb}}\!\!\rightarrow A\).

Preservation properties. It is known that If f is inclusion, injective or surjective, then \(f'\) is, resp., inclusion, injective or surjective as well.

Pullback composition and decomposition. Given \(f\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow B\) and \(g\!:B \;{}^{\mathsf {pb}}\!\!\rightarrow C\), their composition is also PB, i.e., \(f;g\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow C\). Moreover, given that the second arrow and the composition are PBs, \(f;g\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow C\) and \(g\!:B \;{}^{\mathsf {pb}}\!\!\rightarrow C\), it is possible to prove that the first arrow is also PB, \(f\!:A \;{}^{\mathsf {pb}}\!\!\rightarrow B\).Footnote 6

Coproducts and pullbacks (Extensivity). Given three typed graphs and morphism pairs , then if and only if \(A_0 \cong A_1 + A_2\).

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing AG

About this paper

Cite this paper

Diskin, Z., König, H. (2016). Incremental Consistency Checking of Heterogeneous Multimodels. In: Milazzo, P., Varró, D., Wimmer, M. (eds) Software Technologies: Applications and Foundations. STAF 2016. Lecture Notes in Computer Science(), vol 9946. Springer, Cham. https://doi.org/10.1007/978-3-319-50230-4_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-50230-4_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-50229-8

  • Online ISBN: 978-3-319-50230-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics