Fakultät Informatik - Institut Software- und Multimediatechnik - Softwaretechnologie – Prof. Aßmann - Softwaretechnologie II
- 4. How to Transform Models with Graph Rewriting
- Prof. Dr. U. Aßmann
4. How to Transform Models with Graph Rewriting P r o f . D r . U . A - - PowerPoint PPT Presentation
Fakultt Informatik - Institut Software- und Multimediatechnik - Softwaretechnologie Prof. Amann - Softwaretechnologie II 4. How to Transform Models with Graph Rewriting P r o f . D r . U . A m a n n Technische Universitt Dresden
Fakultät Informatik - Institut Software- und Multimediatechnik - Softwaretechnologie – Prof. Aßmann - Softwaretechnologie II
S
t w a r e t e c h n
i e I I
–
http://www.springerlink.com/content/5742246115107431/
(c) Prof. U. Aßmann 2
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann
–
–
S
t w a r e t e c h n
i e I I
–
–
–
–
–
–
–
4 (c) Prof. U. Aßmann
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 5
S
t w a r e t e c h n
i e I I
–
–
–
(c) Prof. U. Aßmann 6
S
t w a r e t e c h n
i e I I
–
–
–
–
–
–
–
–
–
(c) Prof. U. Aßmann 7
Fakultät Informatik - Institut Software- und Multimediatechnik - Softwaretechnologie – Prof. Aßmann - Softwaretechnologie II
8
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 9
S
t w a r e t e c h n
i e I I
–
–
–
10 (c) Prof. U. Aßmann
S
t w a r e t e c h n
i e I I
–
A set of rewrite rules S
–
An application algorithm A, that applies a rule to the manipulated graph
–
A graph rewrite system G
–
A start graph Z
–
One or several result graphs
–
A derivation under P consists of a sequence of applications of rules (direct derivations)
–
A GRS applies a set of Graph rewrite rules until nothing changes anymore (to the fjxpoint, chaotic iteration)
–
Problem: Termination and Uniqueness of solution not guaranteed
(c) Prof. U. Aßmann 11
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann
S
t w a r e t e c h n
i e I I
–
–
–
–
(c) Prof. U. Aßmann 13
S
t w a r e t e c h n
i e I I
S
t w a r e t e c h n
i e I I
S
t w a r e t e c h n
i e I I
–
Iteration of rules until termination
–
Examples: PROGRES from Aachen/München
–
Fujaba on UML class graphs, from Paderborn, Kassel www.fujaba.de
–
MOFLON from Darmstadt www.mofmon.org
–
The rules are applied by strategies, higher-order functions and recursion strategies, such as bottom-up / top-down
–
Special variant of automatic graph rewrite systems
–
Graph grammars contain in their rules and in their generated graphs special nodes, so called non-terminals
–
A result graph must not have non-terminals
–
In analogue to String grammars, derivations can be formed and derivation trees
(c) Prof. U. Aßmann 16
S
t w a r e t e c h n
i e I I
–
–
–
–
–
–
–
–
–
(c) Prof. U. Aßmann 17
Fakultät Informatik - Institut Software- und Multimediatechnik - Softwaretechnologie – Prof. Aßmann - Softwaretechnologie II
18
S
t w a r e t e c h n
i e I I
–
–
(c) Prof. U. Aßmann 19
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 20
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 21
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 22
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 23
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 24
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 25
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 26
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 27
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 28
S
t w a r e t e c h n
i e I I
(c) Prof. U. Aßmann 29