3 agent oriented methodologies part 2
play

3. Agent-Oriented Methodologies Part 2: D) ems Design (MASD The - PDF document

3. Agent-Oriented Methodologies Part 2: D) ems Design (MASD The PROMETHEUS The PROMETHEUS methodology. Javier Vzquez-Salceda q Multiagent Syste MASD https://kemlg.upc.edu Methodological Extensions to Object-Oriented Approaches A


  1. 3. Agent-Oriented Methodologies Part 2: D) ems Design (MASD The PROMETHEUS The PROMETHEUS methodology. Javier Vázquez-Salceda q Multiagent Syste MASD https://kemlg.upc.edu Methodological Extensions to Object-Oriented Approaches  A means for agent technologies to gain traction within industrial settings may be by being introduced through well-established technologies d Methodologies  The Unified Modeling Language (UML) has gained wide acceptance for the representation of engineering artifacts using the object-oriented paradigm  There are several attempts to extend UML so as to encompass agent concepts  In general, building methods and tools for agent-oriented software development on top of their object oriented software development on top of their object-oriented 3. Agent-Oriented counterparts seems appropriate It lends itself to smoother migration between these different  technology generations It improves accessibility of agent-based methods and tools to  the object-oriented developer community which, as of today, prevails in industry. jvazquez@lsi.upc.edu 2

  2. D) ems Design (MASD The Prometheus Methodology • Phases • Tools • From Prometheus to ROADMAP Multiagent Syste https://kemlg.upc.edu Prometheus  Prometheus, is an iterative methodology covering the complete software engineering process Analysis, Design, Detailed design, Implementation  d Methodologies  Aims at the development of intelligent agents (in particular BDI agents) Uses goals, beliefs, plans, and events.   The resulting specification can be implemented in any agent implementation software that covers such abstractions 3. Agent-Oriented Specially aimed for implementation with JACK   It is evolved out of practical experiences  It is aimed at industrial software development, not researchers jvazquez@lsi.upc.edu 4

  3. Prometheus Overview  Methodology developed over 7-8 years in collaboration with industry partner ( Agent Software ). Feedback from many students and industry partner clients. d Methodologies  Focus on detailed guidance and structure to facilitate tool support.  Mixture of  graphical notation for overview  (structured) text notation for detail.  Hierarchical and modular. Hierarchical and modular. 3. Agent-Oriented  Prototype tool available and used externally jvazquez@lsi.upc.edu 5 Prometheus Phases  The Prometheus methodology covers three phases  The system specification focuses on identifying the basic functions of the system, along with inputs (percepts), outputs (actions) and their processing (for d Methodologies example, how percepts are to be handled and any important shared data sources to model the system’s interaction with respect to its changing and dynamic environment)  The architectural design phase subsequent to system specification determines which agents the system will 3. Agent-Oriented contain and how they will interact contain and how they will interact  The detailed design phase describes the internals of each agent and the way in which it will achieve its tasks within the overall system. The focus is on defining capabilities (modules within the agent), internal events, plans and detailed data structures. jvazquez@lsi.upc.edu 6

  4. Prometheus Process Overview d Methodologies 3. Agent-Oriented jvazquez@lsi.upc.edu 7 Prometheus System Specification Phase Initial system d description i ti d Methodologies System Stakeholders goals ecification ecification (Actors) stem stem Scenarios Actions, Percepts Functionality 3. Agent-Oriented Spe Spe Sys Sys descriptors Architectural Architectural design design jvazquez@lsi.upc.edu 8

  5. Prometheus System Specification phase  System defined by  Goals: goal diagram goal diagram  Scenarios: user case scenarios S i user case scenarios i i d Methodologies  Functionalities: functionality descriptors functionality descriptors  System interface with environment described in terms of  actions,  percepts 3. Agent-Oriented  external data  external data jvazquez@lsi.upc.edu 9 Prometheus System Specification phase: Steps (non-sequential!) Start with high-level description of the system (textual)  Identify actors  Identify top-level scenarios for each actor Identify top level scenarios for each actor   d Methodologies Identify inputs/outputs (actions/percepts)  3. Agent-Oriented jvazquez@lsi.upc.edu 10

  6. Prometheus System Specification phase: Steps (non-sequential!)  Add a corresponding system goal for each use-case d Methodologies Order Books check-out books Admin Librarian 3. Agent-Oriented order books process returned books jvazquez@lsi.upc.edu 11 Prometheus System Specification phase: Goal Overview Diagram Apply Goal Abstraction to system goals  Refine Goal (OR/AND refinement)    Link goals to (sub)scenarios Link goals to (sub)scenarios d Methodologies Maintain large range of books Scenario how? why? OR Borrow books Order books 3. Agent-Oriented f from other libraries th lib i how ? AND Find cheapest price Organise delivery Log Order jvazquez@lsi.upc.edu 12

  7. Prometheus System Specification phase: Goal Overview Diagram Maintain large range of books Scenario how? why? OR d Methodologies Borrow books Order books from other libraries how ? AND Find cheapest price Organise delivery Log Order 3. Agent-Oriented  good practices:  good practices: Except in extreme situations, the goal diagram...  should be a fully-connected graph  The abstraction level should be balanced in the different branches.  All (sub)goals should be linked to scenarios jvazquez@lsi.upc.edu 13 Prometheus System Specification phase: Steps (non-sequential!)  Identify the functionalities of the system Idea: identify roles and activities  d Methodologies 3. Agent-Oriented jvazquez@lsi.upc.edu 14

  8. Prometheus System Specification phase: Steps (non-sequential!)  Develop and refine the Scenarios and sub- scenarios d Methodologies Steps inside a scenario  consist of: • Incoming event/percept (  receiving functionality) • Message (sender  receiver) 3. Agent-Oriented • Activity or actions (  functionalities) jvazquez@lsi.upc.edu 15 Prometheus Architectural Design Phase System specification artifacts Actions, System Functionality Scenarios Percepts p goals g descriptors p d Methodologies Architectural Architectural Interaction diagrams Agent Design Design descriptors Conversation System protocols overview De De Ar Ar 3. Agent-Oriented Detailed design Detailed design jvazquez@lsi.upc.edu 16

  9. Prometheus Architectural Design Phase: Agent types  Option 1: The domain already identifies agent types  Option 2: Identify the agent types agent types in the system by  Grouping functionalities to agent types based on cohesion and coupling h i d li d Methodologies  Grouping functionalities that are • related based on common sense • group functionalities that require a lot of the same information: – Data Coupling Diagram Data Coupling Diagram  Do not group functionalities that are 3. Agent-Oriented • clearly unrelated clearly unrelated • exist on different hardware platform • security and privacy • Modifiable by different people  Evaluate grouping: • Simple descriptive names (heuristic) • Generate agent acquaintance diagram jvazquez@lsi.upc.edu 17 Prometheus Architectural Design Phase: Data Coupling Diagram d Methodologies 3. Agent-Oriented jvazquez@lsi.upc.edu 18

  10. Prometheus Architectural Design Phase: Agent Descriptors  Generate Agent Descriptors based on the agent types  How many agents of a each agent type (one, many, dynamic)? d Methodologies  What is the life time of the agent?  What is the initial state of the agent?  What should be done when agent is killed?  What is the data used/produced by the agent?  To which event the agent should react?  To which event the agent should react? 3. Agent-Oriented jvazquez@lsi.upc.edu 19 Prometheus Architectural Design Phase: Agent Descriptors d Methodologies 3. Agent-Oriented jvazquez@lsi.upc.edu 20

  11. Prometheus Architectural Design Phase: System Overview Diagram d Methodologies 3. Agent-Oriented Key jvazquez@lsi.upc.edu 21 Design Tip: When agent communication?  Any protocol interaction should come from some agent communication needs.  Goals for Agent Communication: d Methodologies  Agents able to request (to other ags.) actions or services that they cannot perform by themselves  Agents able to ask for information (to other ags.)  Agents able to share their beliefs with other ags.  Agents able to coordinate with other ags. To solve 3. Agent-Oriented complex tasks. l k  Design Tip:  In Prometheus any protocol interaction should be connected to a (sub)goal. jvazquez@lsi.upc.edu 22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend