Ingenias
description
Transcript of Ingenias
INGENIASEMF 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 JuanPavón
Departament of Software Engineering and Artificial IntelligenceFacultad 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
INGENIASEMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Towards a Roundtrip Approach1 Model Contains the system specification2 Code is produced from the specification for a custom JADE
based agent platform3 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
INGENIASEMF 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
INGENIASEMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Technology1 Old version:
1 Meta-modeling and Meta-editing: custom GOPRR (XMLDTD) and meta-editor (custom template based codegeneration)
2 Graphs: JGraph + Batik + other Free Software solutions3 Persistence: Xerces4 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 solutions3 Persistence: EMF4 Code Generation: custom template based code generation
+ ATL5 Transformations: ATL + MTBE
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
INGENIASEMF 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
INGENIASEMF 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
INGENIASEMF 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 MLGraphs Metamodel: Views of the Whole Model (withnodes and edges)Layouts Metamodel: Spatial InformationProject: 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
INGENIASEMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Objects Metamodel (Abstract Syntax)
Entity Representation: An EClassRelationship Representation: An EClass for therelationship Body, and another EClass for eachrelationship-end.
I. García-Magariño, J. J. Gómez-Sanz, J. Pavón Modelling MAS
INGENIASEMF Metamodel for Multi-agent System Tools
Model Transformation By Example for Multi-agent Systems
Model Transformation By Example for MAS1 Pattern-to-pattern transformation rules2 Matching within the output example (Identifiers)
(a) The inputs and outputs ofMTBE
(b) The Behavior of the Gener-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
INGENIASEMF 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
INGENIASEMF 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
INGENIASEMF 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