Incremental Evaluation of Model Queries over EMF Models
Model-driven development tools built on industry standard platforms, such as the EclipseModeling Framework (EMF), heavily utilize model queries in model transformation, well-formedness constraint validation and domain-specific model execution. As these queries are executed rather frequently in interactive modeling applications, they have a significant impact on runtime performance and end user experience. However, due to their complexity, these queries can be time consuming to implement and optimize on a case-by-case basis. Consequently, there is a need for a model query framework that combines an easy-to-use and concise declarative query formalism with high runtime performance.
In this paper, we propose a declarative EMF model query framework using the graph pattern formalism as the query specification language. These graph patterns describe the arrangement and properties of model elements that correspond to, e.g. a well-formedness constraint, or an application context of a model transformation rule.
For improved runtime performance, we employ incremental pattern matching techniques: matches of patterns are stored and incrementally maintained upon model manipulation. As a result, query operations can be executed instantly, independently of the complexity of the constraint and the size of the model. We demonstrate our approach in an industrial (AUTOSAR) model validation context and compare it against other solutions.
- Incremental Evaluation of Model Queries over EMF Models
- Book Title
- Model Driven Engineering Languages and Systems
- Book Subtitle
- 13th International Conference, MODELS 2010, Oslo, Norway, October 3-8, 2010, Proceedings, Part I
- pp 76-90
- Print ISBN
- Online ISBN
- Series Title
- Lecture Notes in Computer Science
- Series Volume
- Series ISSN
- Springer Berlin Heidelberg
- Copyright Holder
- Springer-Verlag Berlin Heidelberg
- Additional Links
- model query
- incremental pattern matching
- model validation
- Industry Sectors
- eBook Packages
- Editor Affiliations
- 16. Department of Systems and Computer Engineering, Carleton University
- 17. Jet Propulsion Laboratory, Flight Software Systems Engineering and Srchitecture Group
- 18. SINTEF IKT
- Author Affiliations
- 19. Department of Measurement and Information Systems, Budapest University of Technology and Economics, H-1117 Magyar tudósok krt. 2, Budapest, Hungary
- 20. OptxWare Research and Development LLC, H-1137 Katona J. u. 39
To view the rest of this content please follow the download PDF link above.