Skip to main content

Polymorphic Sesqui-Pushout Graph Rewriting

  • Conference paper
  • First Online:
Book cover Graph Transformation (ICGT 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9151))

Included in the following conference series:

Abstract

The paper extends Sesqui-Pushout Graph Rewriting (SqPO) by polymorphism, a key concept in object-oriented design. For this purpose, the necessary theory for rule composition and decomposition is elaborated on an abstract categorical level. The results are applied to model rule extension and type dependent rule application. This extension mechanism qualifies SqPO – with its very useful copy mechanism for unknown contexts – as a modelling technique for extendable frameworks. Therefore, it contributes to the applicability of SqPO in software engineering. A version management example demonstrates the practical applicability of the combination of context-copying and polymorphism.

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.

    Composition and prefix closure: for all \(f\in \mathcal {L}\), \(f\circ g\in \mathcal {L}\iff g\in \mathcal {L}\).

  2. 2.

    If \(g\circ f'=f\circ g'\), \((g',f')\) is pullback in \(\mathcal {C}\) of (fg), and \(g\in \mathcal {L}\), then \(g'\in \mathcal {L}\).

  3. 3.

    If \(g'\circ f'=f\circ g\), \((g',f')\) is final pullback complement of (fg), \(g\in \mathcal {L}\), then \(g'\in \mathcal {L}\).

  4. 4.

    Note that (C5) also implies \(i_{0},i_{2},i_{3}\in \mathcal {L}\) due to (C3) and (C4).

  5. 5.

    In SPO, \(\mathcal {L}\) is required to be a suitable subset of the monomorphisms in \(\mathcal {C}\).

  6. 6.

    The statement “\(t'\left\langle m'\right\rangle \circ m\) is match” requires that \(t'\left\langle m'\right\rangle \circ m\in \mathcal {C}\), which – being more precise – means that \(t'\left\langle m'\right\rangle \circ m=[\mathrm {id},f]\) for some \(f\in \mathcal {C}\).

  7. 7.

    Note that this notion of parallel independence is a conservative generalisation of the corresponding notions in [2, 5]. If the rules \(t=(l:K\rightarrow L,r:K\rightarrow R)\) and \(t'=(l':K'\rightarrow L',r':K'\rightarrow R')\) have monic left-hand sides l and \(l'\), we obtain monic morphisms \(l\left\langle m\right\rangle \) and \(l'\left\langle m'\right\rangle \) in the traces for matches m and \(m'\). In this case, the existence of morphisms n and \(n'\) with \(l'\left\langle m'\right\rangle \circ n=m\) and \(l\left\langle m\right\rangle \circ n'=m'\) implies that \((n,\mathrm {id}_{L})\) and \((n',\mathrm {id}_{L'})\) are pullbacks of \((m,l'\left\langle m'\right\rangle )\) and \((m',l\left\langle m\right\rangle )\) resp.

  8. 8.

    Compare Fact 2.

  9. 9.

    These maximal rules model object-oriented operations.

  10. 10.

    Compare “Negative Application Conditions” in [12].

  11. 11.

    Vertex or edge.

  12. 12.

    Compare also [19].

  13. 13.

    For an arbitrary hierarchy H, the Dedekind/MacNeille-completion [23] provides the smallest order closed under least upper and greatest lower bounds containing H.

  14. 14.

    If \(f,g:X\rightarrow G\) are two mappings into a partially ordered set \(G=(G,\le )\), we write \(f\le g\) if \(f(x)\le g(x)\) for all \(x\in X\).

  15. 15.

    The comparison operator \(\le \) in (11) is replaced by \(=\).

  16. 16.

    The notation \(o\in D\) stands here and in the following five occurrences for \(o\in Object_{D}\).

  17. 17.

    The composition \(c\circ a\) exists.

  18. 18.

    Version management systems typically store a successor version of an atomic component by some delta-information or text differences wrt. to its direct predecessor.

References

  1. Anjorin, A., Saller, K., Lochau, M., Schürr, A.: Modularizing triple graph grammars using rule refinement. In: Gnesi and Rensink [9], pp. 340–354

    Google Scholar 

  2. Corradini, A., Heindel, T., Hermann, F., König, B.: Sesqui-pushout rewriting. In: Corradini, A., Ehrig, H., Montanari, U., Ribeiro, L., Rozenberg, G. (eds.) ICGT 2006. LNCS, vol. 4178, pp. 30–45. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  3. Danos, V., Heindel, T., Honorato-Zimmer, R., Stucki, S.: Reversible sesqui-pushout rewriting. In: Giese and König [8], pp. 161–176

    Google Scholar 

  4. Duval, D., Echahed, R., Prost, F., Ribeiro, L.: Transformation of attributed structures with cloning. In: Gnesi and Rensink [9], pp. 310–324

    Google Scholar 

  5. Ehrig, H., Ehrig, K., Prange, U., Taentzer, G.: Fundamentals of Algebraic Graph Transformation. Springer, New York (2006)

    Google Scholar 

  6. Ehrig, H., Rensink, A., Rozenberg, G., Schürr, A. (eds.): ICGT 2010. LNCS, vol. 6372. Springer, Heidelberg (2010)

    Google Scholar 

  7. Lüdtke Ferreira, A.P., Ribeiro, L.: Derivations in object-oriented graph grammars. In: Ehrig, H., Engels, G., Parisi-Presicce, F., Rozenberg, G. (eds.) ICGT 2004. LNCS, vol. 3256, pp. 416–430. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  8. Giese, H., König, B. (eds.): ICGT 2014. LNCS, vol. 8571. Springer, Heidelberg (2014)

    Google Scholar 

  9. Gnesi, S., Rensink, A. (eds.): FASE 2014 (ETAPS). LNCS, vol. 8411. Springer, Heidelberg (2014)

    Google Scholar 

  10. Golas, U., Lambers, L., Ehrig, H., Orejas, F.: Attributed graph transformation with inheritance: efficient conflict detection and local confluence analysis using abstract critical pairs. Theor. Comput. Sci. 424, 46–68 (2012)

    Article  MathSciNet  Google Scholar 

  11. Guerra, E., de Lara, J.: Attributed typed triple graph transformation with inheritance in the double pushout approach. Technical Report UC3M-TR-CS-06-01, Technical Report Universidad Carlos III de Madrid (2006)

    Google Scholar 

  12. Habel, A., Heckel, R., Taentzer, G.: Graph grammars with negative application conditions. Fundam. Inform. 26(3/4), 287–313 (1996)

    MathSciNet  Google Scholar 

  13. Hayman, J., Heindel, T.: On pushouts of partial maps. In: Giese and König [8], pp. 177–191

    Google Scholar 

  14. Heindel, T.: Hereditary pushouts reconsidered. In: Ehrig et al.: [6], pp. 250–265

    Google Scholar 

  15. Kennaway, R.: Graph rewriting in some categories of partial morphisms. In: Ehrig, H., Kreowski, H.-J., Rozenberg, G. (eds.) Graph-Grammars and Their Application to Computer Science. LNCS, vol. 532, pp. 490–504. Springer, Heidelberg (1990)

    Chapter  Google Scholar 

  16. Klar, F., Königs, A., Schürr, A.: Model transformation in the large. In: Crnkovic, I., Bertolino, A. (eds.) ESEC/SIGSOFT FSE, pp. 285–294. ACM (2007)

    Google Scholar 

  17. Liskov, B.H., Wing, J.M.: Family values: a behavioral notion of subtyping. Technical Report CMU-CS-93-187-1, Carnegie Mellon University (1993)

    Google Scholar 

  18. Löwe, M.: Algebraic approach to single-pushout graph transformation. Theor. Comput. Sci. 109(1&2), 181–224 (1993)

    Article  Google Scholar 

  19. Löwe, M.: Graph rewriting in span-categories. In: Ehrig et al.: [6], pp. 218–233

    Google Scholar 

  20. Löwe, M.: Polymorphic sesqui-pushout graph transformation. Technical Report 2014/02, FHDW-Hannover (ISSN 1863–7043) (2014)

    Google Scholar 

  21. Löwe, M., König, H., Schulz, C.: Polymorphic single-pushout graph transformation. In: Gnesi and Rensink [9], pp. 355–369

    Google Scholar 

  22. Löwe, M., König, H., Schulz, C., Schultchen, M.: Algebraic graph transformations with inheritance. In: Iyoda, J., de Moura, L. (eds.) SBMF 2013. LNCS, vol. 8195, pp. 211–226. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  23. MacNeille, H.M.: Partially ordered sets. Trans. Amer. Math. Soc. 42(3), 416–460 (1937)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael Löwe .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Löwe, M. (2015). Polymorphic Sesqui-Pushout Graph Rewriting . In: Parisi-Presicce, F., Westfechtel, B. (eds) Graph Transformation. ICGT 2015. Lecture Notes in Computer Science(), vol 9151. Springer, Cham. https://doi.org/10.1007/978-3-319-21145-9_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-21145-9_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-21144-2

  • Online ISBN: 978-3-319-21145-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics