Presentation is loading. Please wait.

Presentation is loading. Please wait.

Multi-agent Systems Product Lines Camila Nunes, Elder Cirilo, Ingrid Nunes

Similar presentations


Presentation on theme: "Multi-agent Systems Product Lines Camila Nunes, Elder Cirilo, Ingrid Nunes"— Presentation transcript:

1 Multi-agent Systems Product Lines Camila Nunes, Elder Cirilo, Ingrid Nunes

2 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Outline Introduction Background Related Work Case Studies –ExpertCommittee –OLIS GenArch Current Work

3 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Introduction Agent-oriented Software Engineering (AOSE) –New software engineering paradigm –Development of distributed complex applications Software Reuse –Benefits Lower costs Reduced time-to-market Quality improvement –AOSE methodologies Failed to adequately capture the reuse potential since many of the developed methodologies center on the development of specific software applications

4 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Introduction Software product lines (MAS) –New trend of software reuse –Build family of applications in a systematic method Only recent research has explored the integration between SPL and Multi-agent Systems (MAS) –Multi-agent Systems Product Lines (MAS-PL) –SPL + MAS benefits –Help on the industrial exploitation of agent technology

5 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Background Reuse: From Ad-Hoc to Systematic Focus was small-grained and opportunistic. Results always fell short of expectations.

6 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Background A software product line is a set of software-intensive systems sharing a common, managed set of features that satisfy the specific need of a particular market segment or mission and that are developed from a common set of core assets in a prescribed way. Software product line engineering is a paradigm to develop software applications (software-intensive systems and software products) using platforms and mass customisation. A software platform is a set of software subsystems and interfaces that form a common structure from which a set of derivative products can be efficiently developed and produced.

7 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Background Market Strategy / Application Domain pertain to Architecture share an Components are built from is satisfied by used to structure Products Product Lines: Take economic advantage of commonality Bound variability

8 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio SPL Development Approaches Proactive –Development of product lines considering all the products in the foreseeable horizon –A complete set of artifacts to address the product line is developed from scratch Extractive –SPL is developed starting from existing software systems –Common and variable features are extracted from these systems to derive an initial version of the SPL Reactive –Incremental development of SPLs –SPL artifacts address only a few products. When there is a demand to incorporate new requirements or products, the common and variable artifacts are incrementally extended in reaction to them

9 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio SPL Development Approaches SPL Product 1 Product 2 Product 3 Proactive Approach Domain Analysis Architecture Project

10 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio SPL Development Approaches Product 1 Product 2 Product 3 SPL Product 1 Product 2 Product 3 Extractive Approach

11 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio SPL Development Approaches SPL Product 1 Product 2 Product 3 Reactive Approach SPL Product 1 Product 2 Product 3 Product 4 Requirements for a new product instance, Product 4 + React Iterate

12 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Background MethodologyDomain AnalysisDomain Design FORM Feature diagram with composition rules Subsystem, Process Model and Module Models [Pohl 2005] Framework Reusable, textual and model-based requirements, variability model Reference architecture, refined variability model, mapping from design artifacts to requirements artifacts PLUS Requirements model consisting of a use case model and feature model Static and dynamic models, feature/class dependencies, design of component-based software architecture MacMAS Extension Feature Model (features are goals) Acquaintance Organization, Traceability and Role Models [Dehlinger 2007] Role Schema, Role Variation Point - For the complete study, refers to

13 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Background Variability Types –What can vary in a MAS-PL Besides the common variabilities of SPLs –Alternative / Optional Agents Alternative / Optional Roles Alternative / Optional Capabilities Agent also accomplish their goals by communicating with other agents; thus, it is common that inserting new capabilities affects other agents Believes Goals Plans

14 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Related Work Josh Dehlinger and Robyn R. Lutz –A Product-Line Requirements Approach to Safe Reuse in Multi- Agent Systems Extensible agent-oriented requirements specification template for distributed systems that supports safe reuse –Software Product Line Approach –Dynamically changing configurations of agents can be captured and reused for future similar systems Consistency with the Gaia methodology Requirements area documented in two phases –Role Schema –Role Variation Point Schema

15 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Related Work Joaquin Pena et al –Designing and managing evolving systems using a MAS product line approach Evolving system: multiple versions of the same system –Extension of MaCMAS

16 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Case Studies

17 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio ExpertCommittee (EC) Conference Management System Typical web-based application Functionalities to support the complete process of the management of conferences and workshops –Paper submission –Reviewing processes Examples –EasyChair (http://www.easychair.org/)http://www.easychair.org/ –JEMS (https://submissoes.sbc.org.br/)https://submissoes.sbc.org.br/

18 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio EC Versions VersionDescription Version 1 Typical web-based application (MAS-PL core) Mandatory features that support the conference management process Version 2 Release 1: Addition of the Reviewer role and the functionalities related to it: accept/reject review and review paper. Release 2: Addition of automatic suggestion of conferences to the authors. Release 3: Addition of message notifications to the system users through or SMS (alternative feature). Release 4: Addition of deadline monitoring, to trigger specific actions when they expire. Release 5: Addition of automatic assignment of papers to committee members review them. Release 6: Addition of task management. Version 3Refactoring of Version 2 Improvement of the modularization of some agency features

19 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio EC Feature Model

20 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio EC Architecture Chair Actions BaseAction Database Author ServiceImpl ConferenceDAO Hibernate PaperDAO Hibernate Author Actions Deadline Agent GUI Layer Chair ServiceImpl Data Layer Business Layer Chair Role Coordinator Role Author Role Committee Member Role Observable Observer User Data Agent > Observable Service User Agents Environment Agent Task Agent TaskAction Task ServiceImp l TaskDAO Hibernate Notifier Agent SMSMAIL … Reviewer Actions Reviewer ServiceImpl Reviewer Role

21 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio EC Configuration File

22 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio OLIS OLIS (OnLine Intelligent Services) –Software product line of web-based systems –Services (mandatory or optional) User Management Calendar Events Announcement Weather –Handles different event types Generic Academic Travel –Addition of Autonomous behavior to Provide Intelligent Services

23 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio OLIS Feature Model Feature Dependencies

24 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio OLIS Architecture

25 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio OLIS Configuration struts.xml applicationContext.xml

26 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio GenArch Model-driven product derivation tool Centered on the definition of three models –Feature model –Implementation model –Configuration model The Approach Motivates –Generation of initial versions of these models based on a set of code annotations –Refinement and adaptation of these initial versions to enable the automatic product derivation

27 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio GenArch Purpose of each model –Feature Model Represents variabilities from the SPL architecture –Architecture Implementation Model Offers a visual representation of code artifacts from the SPL architecture –Configuration Model Defines the mapping between features and code artifacts Represents the configuration knowledge from a generative approach

28 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio GenArch

29 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Current Work (Ingrid) Method definition –SPL Methodologies extensions Agent variability documentation and tracing –Set of guidelines for including software agents into an existing web system Web-MAS Architectural Pattern MAS Techniques SPL Methodologies Documentation of Agency Features

30 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Current Work (Elder) Spring Model Classes, Aspectos... JADEX Model XML Feature Model «IMPORT br::pucrio::inf::les::genarch::models::instance» «EXTENSION br::pucrio::inf::les::genarch::models::Model» «DEFINE Main FOR Instance» «FILE "User.agent.xml"-» (...) «LET domainModelElement(mas",user",domainModels) AS u» «FOREACH u.capabilities AS c» «c.fragment.content» «FOREACH» «ENDLET» (...) «ENDFILE» «ENDDEFINE» Produtos Multi-level Customization in SPL Derivation

31 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio Current Work (Camila) Evolving MAS-PL: An Empirical Study –Motivation Increase several approaches of SPL –MAS growing in size and complexity Evolution Scenarios of MAS Combining OO and OA –Problem Definition MAS concerns may not no very well separated by existing OO abstractions Evolution requirements of product line Construction of reusable and maintainable large MAS –Proposal Implement and to compare quantitatively and qualitatively (using metrics) MAS-PL implementations using OO and OA Analyze the impact of OO and OA in MAS-PL maintenance scenarios

32 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio References CIRILO, E.; KULESZA, U.; LUCENA, C. Genarch: A Model-Based Product Derivation Tool. In Proceedings of Brazilian Symposium on Software Components, Architectures and Reuse (SBCARS Tools 2007), Campinas – Brazil, CIRILO, E.; KULESZA, U.; COELHO, R.; LUCENA, C.; STAA, A. Integrating Component and Product Lines Technologies. In Proceedings of 10th International Conference on Software Reuse (ICSR 2008), Beijing – China, CIRILO, E.; KULESZA, U.; LUCENA, C. A Product Derivation Tool Base on Model-Driven Techniques and Annotations. Journal of Universal Computer Science, Graz – 2008.

33 Camila Nunes, Elder Cirilo e Ingrid Nunes © LES/PUC-Rio References NUNES, I. O. ; NUNES, C. ; KULESZA, U. ; LUCENA, C. Developing and Evolving a Multi-Agent System Product Line: An Exploratory Study. In: 9th International Workshop on Agent-Oriented Software Engineering, 2008, Estoril. 9th International Workshop on Agent- Oriented Software Engineering, p NUNES, I. O. ; KULESZA, U. ; NUNES, C. ; LUCENA, C.. Documenting and Modeling Multi-agent Systems Product Lines. In: International Conference on Software Engineering and Knowledge Engineering, 2008, San Francisco. Proceedings of Twentieth International Conference on Software Engineering and Knowledge Engineering, NUNES,C.; KULESZA, U..; SANT'ANNA, C.; NUNES, I..; LUCENA, C. On the Modularity Assessment of Aspect-Oriented Multi-Agent Systems Product Lines: a Quantitative Study. In Simpósio Brasileiro de Componentes, Arquiteturas e Reutilização de Software, 2008.

34 Questions? Camila Nunes Elder Cirilo Ingrid Nunes


Download ppt "Multi-agent Systems Product Lines Camila Nunes, Elder Cirilo, Ingrid Nunes"

Similar presentations


Ads by Google