Title: Describing AgentOriented Design Patterns in Tropos
 1Describing Agent-Oriented Design Patterns in 
Tropos 
- Carla Silva, Jaelson Castro, Patrícia Tedesco and 
 Ismênia Silva
- LER Laboratório de Engenharia de Requisitos 
- ctlls, jbc,pcart,igls_at_cin.ufpe.br 
2Agenda
- Tropos 
- Motivation 
- Detailed Design Process 
- Social Patterns Description 
- Contributions 
- Future Work
3Agent Oriented Development
-  The increasing interest in software agents and 
 multi-agent systems has recently led to the
 development of new methodologies based on agent
 concepts.
4Tropos Phases
-  Tropos offers an approach to guide the 
 development of agent-oriented systems and
 supports four phases of the software development
 lifecycle .
5Tropos Concepts
-  The Tropos framework uses concepts and models 
 offered by i framework at various phases phases
 of the software development lifecycle .
6Architectural Design Model 
 7Detailed Design Phase 
- introduce additional detail for each 
 architectural component of a system
- reduce development costs 
- promote reuse 
- improve flexibility 
- improve understandability.
8Social Patterns
 Design patterns recurrent in multi-agent and 
cooperative systems. 
- Pair patterns 
-  Booking 
-  Call-for-proposal 
-  Subscription 
-  Bidding
- Mediation patterns 
-  Monitor 
-  Broker 
-  Matchmaker 
-  Mediator 
-  Embassy 
-  Wrapper
Kolp, Do, Faulkner and Hoang 2005 
 9Motivation
- Lack of a systematic way to choose and apply the 
 social patterns
- Lack of a detailed description of the social 
 patterns
Detailed Design Process
Template  UML Diagrams  Code 
 10Detailed Design Process
- Activity 1. Identify constraints 
- Activity 2. Match the proper social patterns 
- Activity 3. Match the patterns participants 
- Activity 4. Establish the relationships
11Architectural Design Model
Constraint The identification of some Editor 
agent is not known at design time.
Solution Using the yellow pages service 
provided by the Matchmaker Pattern. 
 12(No Transcript) 
 13Social Patterns Description
- A subset of the template proposed by GOF Gamma, 
 Helm, Johnson and Vlissides 1995
- Three UML Rumbaugh, Jacobson and Booch 1999 
 extended diagrams to capture the behaviour,
 structure and collaboration of each pattern.
14Social Patterns Description 
 15Structure 
 16Structure Specialization 
 17Collaboration 
 18Collaboration Specialization 
 19Behaviour 
 20Sample Code
- The extended UMLs class diagram is able to 
 provide a sufficient description of the agents
 involved in the pattern aiming at a JADE
 implementation.
To Promote an automatic code generation in JADE 
 21Contributions
- A process which facilitates the choice and 
 application of the social patterns to MAS
 architectural detailed design.
- A template for specifying the social patterns in 
 order to promote a better understanding of them.
22Contributions
- The UML extended diagrams are FIPA compliant. 
- Social patterns description is independent of 
 agent architecture.
- However... Its dependent of a specific agent 
 platform
23Future Work
- Using UML extended diagrams which are platform 
 independent.
- Other real case studies 
- Improving the selection of the social patterns 
- Developing a catalogue of the social patterns 
- Etc
24Links
- Tropos Project 
- www.troposproject.org 
- Laboratório de Engenharia de Requisitos 
- www.cin.ufpe.br/ler 
- Join US _at_ LER 
- Msc  PhD Enrollment is open 
- Deadline October 31st