Skip to main content

Optimization Patterns for OCL-Based Model Transformations

  • Conference paper
Models in Software Engineering (MODELS 2008)

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

Abstract

Writing queries and navigation expressions in OCL is an important part of the task of developing a model transformation definition. When such queries are complex and the size of the models is significant, performance issues cannot be neglected.

In this paper we present five patterns intended to optimize the performance of model transformations when OCL queries are involved. For each pattern we will give an example as well as several implementation alternatives. Experimental data gathered by running benchmarks is also shown to compare the alternatives.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. OCL benchmarks, http://muse.informatik.uni-bremen.de/wiki/index.php/ocl_benchmark_-_core

  2. Aho, A.V., Ullman, J.D.: Principles of Compiler Design. Addison-Wesley series in computer science and information processing. Addison-Wesley, Reading (1977)

    MATH  Google Scholar 

  3. Beck, K.: Implementation Patterns. Addison-Wesley Professional, Reading (2006)

    Google Scholar 

  4. Jouault, F., Kurtev, I.: Transforming models with ATL. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844, pp. 128–138. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  5. Kolovos, D.S., Paige, R.F., Polack, F.A.: The epsilon transformation language. In: Vallecillo, A., Gray, J., Pierantonio, A. (eds.) ICMT 2008. LNCS, vol. 5063, pp. 46–60. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  6. Kuhlmann, M., Gogolla, M.: Analyzing semantic properties of ocl operations by uncovering interoperational relationships. In: Engels, G., Opdyke, B., Schmidt, D.C., Weil, F. (eds.) MODELS 2007. LNCS, vol. 4735. Springer, Heidelberg (2007)

    Google Scholar 

  7. Langlois, B., Exertier, D., Bonnet, S.: Performance improvement of mdd tools. In: EDOCW 2006: Proceedings of the 10th IEEE on International Enterprise Distributed Object Computing Conference Workshops, p. 19. IEEE Computer Society, Los Alamitos (2006)

    Chapter  Google Scholar 

  8. Mezei, G., Levendovszky, T., Charaf, H.: Restrictions for ocl constraint optimization algorithms. Technical report, Technische Universität Dresden (October 2006)

    Google Scholar 

  9. Mezei, G., Levendovszky, T., Charaf, H.: An optimizing ocl compiler for metamodeling and model transformation environments. In: Software Engineering Techniques: Design for Quality, pp. 61–71. Springer, Heidelberg (2007)

    Google Scholar 

  10. OMG. Final adopted specification for MOF 2.0 Query/View/Transformation (2005), www.omg.org/docs/ptc/05-11-01.pdf

  11. Varro, G., Schurr, A., Varro, D.: Benchmarking for graph transformation. In: VLHCC 2005: Proceedings of the 2005 IEEE Symposium on Visual Languages and Human-Centric Computing, pp. 79–88. IEEE Computer Society, Los Alamitos (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sánchez Cuadrado, J., Jouault, F., García Molina, J., Bézivin, J. (2009). Optimization Patterns for OCL-Based Model Transformations. In: Chaudron, M.R.V. (eds) Models in Software Engineering. MODELS 2008. Lecture Notes in Computer Science, vol 5421. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-01648-6_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-01648-6_29

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-01647-9

  • Online ISBN: 978-3-642-01648-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics