Meta edit calc execution v3
-
Upload
gordon-morrison -
Category
Technology
-
view
242 -
download
0
description
Transcript of Meta edit calc execution v3
![Page 1: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/1.jpg)
MetaEdit Animation
5‐Function Calculator Examplewith COSA Temporal Logic
By Gordon Morrison
(COSA)
12/6/2012 1www.VSMerlot.com
![Page 2: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/2.jpg)
MetaEdit with COSA Trace
• The COSA Execution Engine– Trace available at every step of logic– Provides direct relationship to all models
• Show execution in MetaEdit– Rules– Steps / Behaviors and Logic
• Show Execution in COSA tree
– Example follows: ‐3.1 ‐ ‐2.1 = ‐1
12/6/2012 2www.VSMerlot.com
![Page 3: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/3.jpg)
Trace Execution Engine
12/6/2012 3www.VSMerlot.com
![Page 4: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/4.jpg)
Development / Runtime Trace
Runtime Logic Tree
Rule Properties
Rules in this model
12/6/2012 4www.VSMerlot.com
![Page 5: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/5.jpg)
Step Properties
Property can show
behavior detail
Step Name
Static State
Trace Number
12/6/2012 5www.VSMerlot.com
![Page 6: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/6.jpg)
Enter Negate
Static State
12/6/2012 6www.VSMerlot.com
![Page 7: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/7.jpg)
Integer
True/False Behaviors
12/6/2012 7www.VSMerlot.com
![Page 8: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/8.jpg)
Decimal True Next Green
12/6/2012 8www.VSMerlot.com
![Page 9: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/9.jpg)
FractionFalse Next Red
Trace Number
12/6/2012 9www.VSMerlot.com
![Page 10: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/10.jpg)
Not Clear Entry
Subtract Operation Entered
Either Next Black
Trace Number
12/6/2012 10www.VSMerlot.com
![Page 11: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/11.jpg)
Not Clear
12/6/2012 11www.VSMerlot.com
![Page 12: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/12.jpg)
Push
Either T/F12/6/2012 12www.VSMerlot.com
![Page 13: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/13.jpg)
Not Add
12/6/2012 13www.VSMerlot.com
![Page 14: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/14.jpg)
Subtract True
12/6/2012 14www.VSMerlot.com
![Page 15: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/15.jpg)
Engine Off
12/6/2012 15www.VSMerlot.com
![Page 16: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/16.jpg)
Enter Negate
12/6/2012 16www.VSMerlot.com
![Page 17: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/17.jpg)
Integer
12/6/2012 17www.VSMerlot.com
![Page 18: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/18.jpg)
Decimal
12/6/2012 18www.VSMerlot.com
![Page 19: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/19.jpg)
Fraction
12/6/2012 19www.VSMerlot.com
![Page 20: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/20.jpg)
Not Clear Entry
Equal Result Entered
12/6/2012 20www.VSMerlot.com
![Page 21: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/21.jpg)
Not Clear
12/6/2012 21www.VSMerlot.com
![Page 22: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/22.jpg)
Save
12/6/2012 22www.VSMerlot.com
![Page 23: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/23.jpg)
Not Percent
12/6/2012 23www.VSMerlot.com
![Page 24: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/24.jpg)
Equals
12/6/2012 24www.VSMerlot.com
![Page 25: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/25.jpg)
Ready for Next Calculation
• Equals stops the COSA engine• Points temporal pointer back to Oper1 Rule
– Green arrow
• Waits on next event
12/6/2012 25www.VSMerlot.com
![Page 26: Meta edit calc execution v3](https://reader034.fdocuments.in/reader034/viewer/2022051610/54926382ac7959ff2d8b45e0/html5/thumbnails/26.jpg)
Intuitive User Interface• Define domain language in BNF editor
– UML + MetaEdit + COSA domains• Drag and drop – class, rules, steps, logic• No dialog boxes• Select diagram
– Edit object property– Connect or change logic flow– Edit or add behavior code
• Menu driven generation– Select target language– Select target platform– Execute with model testing
12/6/2012 26www.VSMerlot.com