Family Mining on Statecharts
Master’s thesis ideas
David Wille, May 5, 2014
Family Mining on Statecharts Masters thesis ideas David Wille, May - - PowerPoint PPT Presentation
Family Mining on Statecharts Masters thesis ideas David Wille, May 5, 2014 Motivation Background Current approach Ideas Overview Motivation Background Current approach Ideas May 5, 2014 David Wille Family Mining on Statecharts Page 2
David Wille, May 5, 2014
Motivation Background Current approach Ideas
May 5, 2014 David Wille Family Mining on Statecharts Page 2
Motivation Background Current approach Ideas
May 5, 2014 David Wille Family Mining on Statecharts Page 3
Motivation Background Current approach Ideas Family Models vs. Feature Models
Stack Base Undo Peek Implementation ArrayList LinkedList Legend: Mandatory Optional Or Abstract Concrete
May 5, 2014 David Wille Family Mining on Statecharts Page 4
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1 Figure 2: Variant 2 1 6
90% e1
5 6
85% e2
May 5, 2014 David Wille Family Mining on Statecharts Page 5
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1 Figure 2: Variant 2 1 6
90% e1
5 6
85% e2
3 8
10% e3
3 7
10% e4
2 8
10% e5
May 5, 2014 David Wille Family Mining on Statecharts Page 5
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1 Figure 2: Variant 2 1 6
90% e1
5 6
85% e2
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
May 5, 2014 David Wille Family Mining on Statecharts Page 5
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1
e6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1
1
2
5
1
2 3 4
1
Ou t1
Figure 1: Variant 1 Figure 2: Variant 2 1 6
90% e1
5 6
85% e2
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
May 5, 2014 David Wille Family Mining on Statecharts Page 5
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
1 6
90% e1
5 6
85% e2
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
1 6
90% e1
5 6
85% e2
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
1 6
90% e1
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
3 8
10% e3
3 7
10% e4
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
1 6
90% e1
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
3 7
10% e4
1 6
90% e1
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
2 8
10% e5
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
3 7
10% e4
1 6
90% e1
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
4 9
5% e7
Out1
0% e8
3 8
10% e3
1 6
90% e1
2 7
85% e6
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
4 9
5% e7
Out1
0% e8
3 8
10% e3
1 6
90% e1
2 7
85% e6
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
Out1
0% e8
3 8
10% e3
1 6
90% e1
2 7
85% e6
4 9
5% e7
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
Out1
0% e8
3 8
10% e3
1 6
90% e1
2 7
85% e6
4 9
5% e7
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
3 8
10% e3
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
3 8
10% e3
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Current element
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
May 5, 2014 David Wille Family Mining on Statecharts Page 6
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
1 6
90% e1
2 7
85% e6
4 9
5% e7
Out1
0% e8
3 8
10% e3
5
0% e9
1
1
2
5
1
2 3 4
1
Ou t1 May 5, 2014 David Wille Family Mining on Statecharts Page 7
Motivation Background Current approach Ideas Creating Compare Elements Matching Merging Summary
Understand relations between compared models Improves maintainability of models
The general approach, the metric, …
e.g., MATLAB/Simulink, CoDeSys, …
May 5, 2014 David Wille Family Mining on Statecharts Page 8
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
Esterel Technologies SCADE Math Works Stateflow ETAS ASCET IBM Rational Rhapsody
1David Harel, Statecharts: a visual formalism for complex systems, 1987
May 5, 2014 David Wille Family Mining on Statecharts Page 9
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
e.g., entry, exit, during, … in SCADE defined by block-based models
Marked with “S” Default transition
May 5, 2014 David Wille Family Mining on Statecharts Page 10
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
May 5, 2014 David Wille Family Mining on Statecharts Page 10
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
May 5, 2014 David Wille Family Mining on Statecharts Page 10
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
May 5, 2014 David Wille Family Mining on Statecharts Page 10
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
May 5, 2014 David Wille Family Mining on Statecharts Page 11
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
May 5, 2014 David Wille Family Mining on Statecharts Page 12
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
States Transitions
Efficient (preferably no n × m comparison) Correct (i.e., meeting the stakeholders’ expectations)
May 5, 2014 David Wille Family Mining on Statecharts Page 13
Motivation Background Current approach Ideas Analysis Identified concepts Create a Meta-Model Challenges Next steps
… different related statecharts. … statecharts with differing complexity and size.
May 5, 2014 David Wille Family Mining on Statecharts Page 13
Motivation Background Current approach Ideas
May 5, 2014 David Wille Family Mining on Statecharts Page 14