Micromeritics - Fundamental and Derived Properties of Powders
Ingenias
1. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Tools for Modeling Multi-agent Systems:
Process and code generation
Iván García-Magariño Jorge J. Gómez-Sanz Juan
Pavón
Departament of Software Engineering and Artificial Intelligence
Facultad de Informatica, Universidad Complutense de Madrid
Eclipse Day, Valencia, 2008
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
2. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Towards a Roundtrip Approach
1 Model Contains the system specification
2 Code is produced from the specification for a custom JADE
based agent platform
3 Some changes are uploaded to the specification
(CodeUploader/AppLinker)
4 Model management and code generation is perfomed by
the INGENIAS Development Kit
http://ingenias.sourceforge.net
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
3. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Overview
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
4. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Technology
1 Old version:
1 Meta-modeling and Meta-editing: custom GOPRR (XML
DTD) and meta-editor (custom template based code
generation)
2 Graphs: JGraph + Batik + other Free Software solutions
3 Persistence: Xerces
4 Code Generation: custom template based code generation
2 INGENIAS reloaded:
1 Meta-modeling and Meta-editing: EMF + two editor (Old
IDK and new Eclipse)
2 Graphs: JGraph + Batik + other Free Software solutions
3 Persistence: EMF
4 Code Generation: custom template based code generation
+ ATL
5 Transformations: ATL + MTBE
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
5. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Eclipse version
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
6. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
IDK version
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
7. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Structure of the metamodel for CASE tool
Objects Metamodel: Contains the Abstract Syntax of ML
Graphs Metamodel: Views of the Whole Model (with
nodes and edges)
Layouts Metamodel: Spatial Information
Project: CASE Tool data: project, tool version , etc.
Each Metamodel is instantiated with one model.
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
8. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Objects Metamodel (Abstract Syntax)
Entity Representation: An EClass
Relationship Representation: An EClass for the
relationship Body, and another EClass for each
relationship-end.
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
9. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Model Transformation By Example for MAS
1 Pattern-to-pattern transformation rules
2 Matching within the output example (Identifiers)
(a) The inputs and outputs of (b) The Behavior of the Gener-
MTBE ated Transformation
Figure: Description of the Model Transformation By-Example (MTBE)
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
10. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
MTGenerator Tool
Figure: Model-Transformation Generator Tool
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
11. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
INGENIAS Example
Figure: UseCase2Interaction model transformation
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
12. INGENIAS
EMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Questions
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS