SlideShare uma empresa Scribd logo
1 de 28
http://www.di.univaq.it/diruscio/
davide.diruscio@univaq.it
@ddiruscio
Consistency Recovery in
Interactive Modeling
Davide Di Ruscio
Joint work with Juri Di Rocco, Marcel Heinz, Ludovico Iovino, Ralf Laemmel, Alfonso Pierantonio
2
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Introduction > Model-Driven Engineering
Over the last decades many MDE technologies have been conceived to
support a wide range of modeling and model management activities
3
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Introduction > MDE projects
MDE projects contain different kinds of artifacts such as models,
metamodels, model transformations, deltas, …
Artifacts are related in terms of relationships such as transformation or
conformance
Metamodel
4
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Collection of modelling artifacts developed with a specific goal
MDE Projects
Thank you… but …
how to use it????
5
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
6
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
7
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
8
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
9
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
We want to exercise an effective, declarative (model-
based), and transparent (understandable) approach
to organizing the artifacts in an MDE project
(in a model repository or not)
and the relationships between the artifacts
10
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
11
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
+
12
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
+
MegaL/Forge
13
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
The MegaL/Forge language
14
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
A simple project’s megamodel (1/2)
15
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
A simple project’s megamodel (2/2)
16
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge Static Semantics
(Well-formedness)
Types, artifacts, relations, and function are declared before they are
used
Each name can be declared once only (‘no overloading’)
The arguments of relationships and function applications and results of
function applications must be of the types as prescribed by the
signatures of the corresponding relations and functions
Each artifact symbol is linked to some filename
17
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge Dynamic Semantics
(Consistency)
Relational consistency when the interpretation of all relation
applications (relationships) in a given megamodel m for a given
environment E returns true
Functional consistency when the interpretation of all function
applications in the megamodel m with the environment E returns true
18
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Consistency recovery
A project change triggers:
- recovery analysis on the megamodel
- to determine a sequence of function applications
- execution of the recovery sequence
- to facilitate consistency recovery when applied to the artifacts in the project
19
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Sample change scenarios
Modify difference model
Modify one model
20
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Consistency recovery analysis: main issues
Mapping a change to an infinite sequence
This may happen, if a naive definition is used where a change to an
artifact m transitively leads to a change of m
We set up the analysis to never change an artifact that was already changed.
Nondeterminism management
There may exist megamodels and changes for which different recovery
sequences are possible
We set up the analysis to detect nondeterminism and fail with consistency recovery in this case.
21
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
MDEForge is an extensible platform enabling the adoption of model
management tools as SaaS (software as a service)
- Users have the possibility to create modeling artifacts and organize them in
projects that are, in turn, contained in workspaces
22
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
ProjectMonitoring implements listeners that execute the
consistency recovery manager when artifacts or projects
are changed.
23
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
ConsistencyManagement package implements the
presented consistency recovery concepts
For each symbolic function or relation name a
corresponding IOperationApplier implementation is
available
24
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
The links between symbolic operation names and the
corresponding appliers are specified in the operationMapper
HashMap of the ConsistencyRecoveryManager class
25
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
The consistency check between a project and the
corresponding megamodel is performed by the method
checkConsistency
The method consistencyRecovery implements the recovery
mechanism
getFunctionsToRecoverConsistency is responsible of
identifying the functions to be applied and their execution order
26
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
User feedback upon changes
27
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Conclusion and future work
Megamodel-based approach towards consistency recovery in MDE
projects
Megamodels are facilitated to express consistency and to provide
guidance for consistency recovery
Future plans include at least:
- Management of richer dependencies between the involved artifacts (i.e.,
management of nondeterminism)
- Application of the approach on non-trivial examples of co-evolution
- Making megamodels and the underlying MDE projects explicitly version-
aware
28
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Thank you !!!!

Mais conteúdo relacionado

Semelhante a Consistency Recovery in Interactive Modeling

Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Venkat Projects
 
VSSML18. Practical Workshops
VSSML18. Practical WorkshopsVSSML18. Practical Workshops
VSSML18. Practical WorkshopsBigML, Inc
 
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...Pedro Luis Mateo Navarro
 
Visual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureVisual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureIRJET Journal
 
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Benoit Combemale
 
Tools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsTools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsRichard Oliver Legendi
 
A survey on fem modelling for composites
A survey on fem modelling for compositesA survey on fem modelling for composites
A survey on fem modelling for compositeseSAT Publishing House
 
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...Mani Poshdar
 
Design and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfDesign and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfIRJET Journal
 
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...IJECEIAES
 
Introduction to design patterns
Introduction to design patternsIntroduction to design patterns
Introduction to design patternsAmit Kabra
 
A Model-based Framework for Continuous Development and Runtime Validation of...
A Model-based Framework for Continuous Development and Runtime Validation  of...A Model-based Framework for Continuous Development and Runtime Validation  of...
A Model-based Framework for Continuous Development and Runtime Validation of...Hugo Bruneliere
 
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...Misu Md Rakib Hossain
 
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Romina Eramo
 
3 d molding and casting2
3 d molding and casting23 d molding and casting2
3 d molding and casting2Fab Lab LIMA
 
Scalable architectures for phenotype libraries
Scalable architectures for phenotype librariesScalable architectures for phenotype libraries
Scalable architectures for phenotype librariesMartin Chapman
 
Calculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsCalculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsIJMERJOURNAL
 
Design Patterns
Design PatternsDesign Patterns
Design Patternsfrgo
 

Semelhante a Consistency Recovery in Interactive Modeling (20)

Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...
 
VSSML18. Practical Workshops
VSSML18. Practical WorkshopsVSSML18. Practical Workshops
VSSML18. Practical Workshops
 
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
 
Visual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureVisual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in Architecture
 
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
 
Tools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsTools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason Models
 
A survey on fem modelling for composites
A survey on fem modelling for compositesA survey on fem modelling for composites
A survey on fem modelling for composites
 
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
 
Design and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfDesign and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage Shelf
 
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
 
Francesco Serafin
Francesco Serafin Francesco Serafin
Francesco Serafin
 
Model Integration
Model IntegrationModel Integration
Model Integration
 
Introduction to design patterns
Introduction to design patternsIntroduction to design patterns
Introduction to design patterns
 
A Model-based Framework for Continuous Development and Runtime Validation of...
A Model-based Framework for Continuous Development and Runtime Validation  of...A Model-based Framework for Continuous Development and Runtime Validation  of...
A Model-based Framework for Continuous Development and Runtime Validation of...
 
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
 
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
 
3 d molding and casting2
3 d molding and casting23 d molding and casting2
3 d molding and casting2
 
Scalable architectures for phenotype libraries
Scalable architectures for phenotype librariesScalable architectures for phenotype libraries
Scalable architectures for phenotype libraries
 
Calculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsCalculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applications
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 

Mais de Davide Ruscio

Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Davide Ruscio
 
Detecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDetecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDavide Ruscio
 
On the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesOn the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesDavide Ruscio
 
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
FOCUS:  A Recommender System for Mining API Function Calls and  Usage PatternsFOCUS:  A Recommender System for Mining API Function Calls and  Usage Patterns
FOCUS: A Recommender System for Mining API Function Calls and Usage PatternsDavide Ruscio
 
CrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsCrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsDavide Ruscio
 
Use of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareUse of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareDavide Ruscio
 
Semantic based model matching with emf compare
Semantic based model matching with emf compareSemantic based model matching with emf compare
Semantic based model matching with emf compareDavide Ruscio
 
Collaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyCollaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyDavide Ruscio
 
Model repositories: will they become reality?
Model repositories: will they become reality?Model repositories: will they become reality?
Model repositories: will they become reality?Davide Ruscio
 
Mining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel MetricsMining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel Metrics Davide Ruscio
 
MDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformMDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformDavide Ruscio
 

Mais de Davide Ruscio (11)

Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...
 
Detecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDetecting java software similarities by using different clustering
Detecting java software similarities by using different clustering
 
On the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesOn the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activities
 
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
FOCUS:  A Recommender System for Mining API Function Calls and  Usage PatternsFOCUS:  A Recommender System for Mining API Function Calls and  Usage Patterns
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
 
CrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsCrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projects
 
Use of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareUse of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source Software
 
Semantic based model matching with emf compare
Semantic based model matching with emf compareSemantic based model matching with emf compare
Semantic based model matching with emf compare
 
Collaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyCollaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping Study
 
Model repositories: will they become reality?
Model repositories: will they become reality?Model repositories: will they become reality?
Model repositories: will they become reality?
 
Mining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel MetricsMining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel Metrics
 
MDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformMDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platform
 

Último

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 

Último (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 

Consistency Recovery in Interactive Modeling

  • 1. http://www.di.univaq.it/diruscio/ davide.diruscio@univaq.it @ddiruscio Consistency Recovery in Interactive Modeling Davide Di Ruscio Joint work with Juri Di Rocco, Marcel Heinz, Ludovico Iovino, Ralf Laemmel, Alfonso Pierantonio
  • 2. 2 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Introduction > Model-Driven Engineering Over the last decades many MDE technologies have been conceived to support a wide range of modeling and model management activities
  • 3. 3 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Introduction > MDE projects MDE projects contain different kinds of artifacts such as models, metamodels, model transformations, deltas, … Artifacts are related in terms of relationships such as transformation or conformance Metamodel
  • 4. 4 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Collection of modelling artifacts developed with a specific goal MDE Projects Thank you… but … how to use it????
  • 5. 5 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 6. 6 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 7. 7 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 8. 8 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 9. 9 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective We want to exercise an effective, declarative (model- based), and transparent (understandable) approach to organizing the artifacts in an MDE project (in a model repository or not) and the relationships between the artifacts
  • 10. 10 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user
  • 11. 11 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user +
  • 12. 12 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user + MegaL/Forge
  • 13. 13 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas The MegaL/Forge language
  • 14. 14 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas A simple project’s megamodel (1/2)
  • 15. 15 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas A simple project’s megamodel (2/2)
  • 16. 16 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge Static Semantics (Well-formedness) Types, artifacts, relations, and function are declared before they are used Each name can be declared once only (‘no overloading’) The arguments of relationships and function applications and results of function applications must be of the types as prescribed by the signatures of the corresponding relations and functions Each artifact symbol is linked to some filename
  • 17. 17 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge Dynamic Semantics (Consistency) Relational consistency when the interpretation of all relation applications (relationships) in a given megamodel m for a given environment E returns true Functional consistency when the interpretation of all function applications in the megamodel m with the environment E returns true
  • 18. 18 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Consistency recovery A project change triggers: - recovery analysis on the megamodel - to determine a sequence of function applications - execution of the recovery sequence - to facilitate consistency recovery when applied to the artifacts in the project
  • 19. 19 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Sample change scenarios Modify difference model Modify one model
  • 20. 20 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Consistency recovery analysis: main issues Mapping a change to an infinite sequence This may happen, if a naive definition is used where a change to an artifact m transitively leads to a change of m We set up the analysis to never change an artifact that was already changed. Nondeterminism management There may exist megamodels and changes for which different recovery sequences are possible We set up the analysis to detect nondeterminism and fail with consistency recovery in this case.
  • 21. 21 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge MDEForge is an extensible platform enabling the adoption of model management tools as SaaS (software as a service) - Users have the possibility to create modeling artifacts and organize them in projects that are, in turn, contained in workspaces
  • 22. 22 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge ProjectMonitoring implements listeners that execute the consistency recovery manager when artifacts or projects are changed.
  • 23. 23 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge ConsistencyManagement package implements the presented consistency recovery concepts For each symbolic function or relation name a corresponding IOperationApplier implementation is available
  • 24. 24 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge The links between symbolic operation names and the corresponding appliers are specified in the operationMapper HashMap of the ConsistencyRecoveryManager class
  • 25. 25 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge The consistency check between a project and the corresponding megamodel is performed by the method checkConsistency The method consistencyRecovery implements the recovery mechanism getFunctionsToRecoverConsistency is responsible of identifying the functions to be applied and their execution order
  • 26. 26 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas User feedback upon changes
  • 27. 27 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Conclusion and future work Megamodel-based approach towards consistency recovery in MDE projects Megamodels are facilitated to express consistency and to provide guidance for consistency recovery Future plans include at least: - Management of richer dependencies between the involved artifacts (i.e., management of nondeterminism) - Application of the approach on non-trivial examples of co-evolution - Making megamodels and the underlying MDE projects explicitly version- aware
  • 28. 28 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Thank you !!!!