McGill University School of Computer Science Ph.D. Candidate in the Modelling, Simulation and Design Lab MSDL09 De-/Re-constructing Model Transformation.

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Finding The Unknown Number In A Number Sentence! NCSCOS 3 rd grade 5.04 By: Stephanie Irizarry Click arrow to go to next question.
Advanced Piloting Cruise Plot.
Analysis of Computer Algorithms
Kapitel 21 Astronomie Autor: Bennett et al. Galaxienentwicklung Kapitel 21 Galaxienentwicklung © Pearson Studium 2010 Folie: 1.
Chapter 7 System Models.
Requirements Engineering Process
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Source of slides: Introduction to Automata Theory, Languages and Computation.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
ZMQS ZMQS
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Plan Recognition in Virtual Laboratories Ofra Amir and Yaakov (Kobi) Gal Ben-Gurion University of The Negev Department of Information Systems Engineering.
McGill University School of Computer Science Ph.D. Student in the Modelling, Simulation and Design Lab Eugene Syriani Hans Vangheluwe.
Eugene Syriani and Huseyin Ergin University of Alabama Software Modeling Lab Software Engineering Group Department of Computer Science College of Engineering.
1 of Audience Survey Results Larry D. Gustke, Ph.D. – October 5, 2013.
OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Data Structures Using C++
ABC Technology Project
McGill University School of Computer Science Ph.D. Student in the Modelling, Simulation and Design Lab GraBaTS08 Eugene Syriani Hans Vangheluwe.
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
25 July, 2014 Martijn v/d Horst, TU/e Computer Science, System Architecture and Networking 1 Martijn v/d Horst
25 July, 2014 Martijn v/d Horst, TU/e Computer Science, System Architecture and Networking 1 Martijn v/d Horst
5 August, 2014 Martijn v/d Horst, TU/e Computer Science, System Architecture and Networking 1 Martijn v/d Horst
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
Squares and Square Root WALK. Solve each problem REVIEW:
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
McGill University School of Computer Science Ph.D. Candidate in the Modelling, Simulation and Design Lab Eugene Syriani.
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 First EMRAS II Technical Meeting IAEA Headquarters, Vienna, 19–23 January 2009.
Addition 1’s to 20.
25 seconds left…...
Week 1.
McGill University GT-VMT’10 School of Computer Science Ph.D. Candidate in the Modelling, Simulation and Design Lab Eugene Syriani Hans Vangheluwe.
We will resume in: 25 Minutes.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration.
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
How Cells Obtain Energy from Food
Chapter 30 Induction and Inductance In this chapter we will study the following topics: -Faraday’s law of induction -Lenz’s rule -Electric field induced.
McGill University School of Computer Science Ph.D. Student in the Modelling, Simulation and Design Lab MSDL’08 Eugene Syriani.
McGill University School of Computer Science ‘07 Eugene Syriani and Hans Vangheluwe McGill University School of Computer Science 1.
McGill University Proposal Exam School of Computer Science Ph.D. Candidate in the Modelling, Simulation and Design Lab Eugene Syriani.
Presentation transcript:

McGill University School of Computer Science Ph.D. Candidate in the Modelling, Simulation and Design Lab MSDL09 De-/Re-constructing Model Transformation Languages Eugene Syriani

MSDL09 OVERVIEW Context De-Constructing Transformation Languages Collection of MT primitives Re-Constructing Transformation Languages FUJABA More esoteric features MoTif-Core: a re-construction example MoTif GReAT Conclusion 2

MSDL09 THE BIG PICTURE

MSDL09 IN THE CONTEXT Many different model transformation languages (MTLs) – Features [1]: atomicity, sequencing, branching, looping, non-determinism, recursion, parallelism, back-tracking, hierarchy, time – Transformation rule: matching + rewriting + validation Hard to – Compare expressiveness – Provide framework for interoperability Express MTLs in terms of primitive building blocks – De-Construction: small set of most primitive constructs – Re-Construction: discover new MTLs + interoperation + optimization 4 [1] Syriani, E. and Vangheluwe, H. (2009) Matters of model transformation. Technical Report SOCS-TR McGill University, School of Computer Science.

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES 5 T-Core Module 8 primitives Composition operator 3 types of messages Exchange of messages through methods 3 output states: – Success – Fail – Exception

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Matcher 6 1.Find all matches (parameter) 2.Store result in packet

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Rewriter 7 1.Check validity of packet 2.Apply transformation 3.Propagate changes in all match sets 4.Consume match Exception possible!

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Iterator 8 1.Check if match set is not empty 2.Randomly choose a match

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Rollbacker 9 1.Push packet onto stack 1.Match set not empty: there are matches left (pass on) 2.No match set: back-track to previous state

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Resolver 10 1.Conservative check for potential conflict between different matches in match sets (parameter) 2.Customizable resolution function Exception possible!

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Selector 11 1.successIn : add to success set 2.failIn : add to fail set 3.Choose randomly first from success then from fail Exception possible!

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Synchronizer 12 1.successIn : add to success set 2.failIn : add to fail set 3.Merge only if all threads succeeded 4.Customizable merge function Exception possible!

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Composer 13 1.Meaningfully composes its sub-primitives 2.User-defined composition

MSDL09 DE-CONSTRUCTING TRANSFORMATION LANGUAGES Motivating T-Core 14 De-construct up to what level? What to include, what to exclude? – Pre/PostConditionPattern: rules, bi-directional, functions – Separation match/rewrite: queries, nested transformaitons – Packet: sufficient info to be processed by each primitive, designed for concurrent transformations – Composition: scaling for large model transformations – T-Core module: open for more building blocks, extendable

MSDL09 RE-CONSTRUCTING TRANSFORMATION LANGUAGES 15

MSDL09 RE-CONSTRUCTING TRANSFORMATION LANGUAGES FUJABA for-all Pattern [2] 16 [2] Fischer, T., et. al., (2000) Story diagrams: A new graph rewrite language based on the UML and Java. In Ehrig, H., et al., (eds.), Theory and Application of Graph Transformations, LNCS, 1764, pp. 296–309. Springer-Verlag.

MSDL09 RE-CONSTRUCTING TRANSFORMATION LANGUAGES FUJABA for-all Pattern 17

MSDL09 RE-CONSTRUCTING TRANSFORMATION LANGUAGES FUJABA for-all Pattern 18

MSDL09 RE-CONSTRUCTING TRANSFORMATION LANGUAGES Repot all flowering geraniums whose pots have cracked Amalgamation rules: Repotting the geraniums [3] 19 [3] Rensink, A. and Kuperus, J.-H. (2009) Repotting the geraniums: On nested graph transformation rules. In Margaria, T., Padberg, J., and Taentzer, G. (eds.), GT-VMT09, EASST.

MSDL09 MOTIF-CORE = DEVS + T-CORE [4] 20 [4] Zeigler, B. P. (1984) Multifacetted Modelling and Discrete Event Simulation. Academic Press.

MSDL09 MOTIF-CORE: TIMED MTLS Time Exceptions MoTif AtomicRule [5] 21 [5] Syriani, E. and Vangheluwe, H. (2009) Discrete-Event Modeling and Simulation: Theory and Applications. CRC Press, Boca Raton (USA).

MSDL09 MOTIF-CORE: TIMED MTLS Asynchrony Parallelism GReAT Test/Case block [6] 22 [6] Agrawal, A., Karsai, G., Kalmar, Z., Neema, S., Shi, F., and Vizhanyo, A. (2006) The design of a language for model transformations. SoSym, 5, 261–288.

MSDL09 MOTIF-CORE: TIMED MTLS More Readable: Repotting the geraniums 23

MSDL09 CONCLUSION Collection of MT primitives: T-Core Re-construction of existing MTLs (comparable) New-Construction of novel MTLs: MoTif-Core Future Work – Efficiently implement these primitives – Compare MoTif-Core with QVT-Core 24

MSDL09 Lets discuss 25