SlideShare a Scribd company logo
Extending UML for Agents
‫الطالب‬:‫الغائب‬ ‫علي‬ ‫عمر‬ ‫حسن‬‫الطالب‬:‫محمد‬ ‫مفتاح‬ ‫محمد‬‫األجنف‬
‫دراسي‬ ‫رقم‬:6269‫دراسي‬ ‫رقم‬:6109
‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬
Overview
2. Introduction to Agents
3. Introduction to Agent UML
4. Class Diagram
5. Interaction Diagram
1. Introduction to UML
Introduction to UML
• Static models: class, package diagrams
• Dynamic models:
Interaction diagrams (sequence and
collaboration)
State diagrams
Activity diagrams
• Implementation models: component,
deployment diagrams
Object constraint language (OCL)
Introduction to Agent
What is an agent ?
An agent is an hardware or software
system placed in an environment that
enjoys the following properties:
 Autonomy .
 Socialability .
 Reactivity .
 Proactivity .
Introduction to Agent UML
What is Agent UML ?
 Agent UML is a support notation for agent-
oriented systems development.
 It consists in using the UML modeling language
and extending it in order to represent agents,
their behavior and interactions among them.
 AUML is not restricted to using UML. Other
approaches should be used wherever it makes
sense.
Who is interestedin AUML
• OMG Special Interest Group: recommends
standards for agent technology where
appropriate (www.omg.org)
• FIPA Modeling Technical Commitee: tasked with
developing an AUML standard (www.auml.org)
• Other methodologies: MESSAGE, Gaia, Tropos,
Prometheus, MaSE, ...
Reference(s)YearMethodology#
(Cockburn and Jennings, 1996)1991ARCHON1
(O’Hare and Wooldridge , 1992)1992MADE2
(Singh et al., 1993)1993DRM3
(Gadomski, 1993)1993TOGA4
(Elammari, 1999)1999HIM5
(Wooldridge et al., 2000; Zamboneli
et al., 2005)
2000Gaia6
(Caire et al., 2000; Evans et al.,
2001)
2000MESSAGE/UML7
A survey of agent-oriented software engineering
paradigm: Towards its industrial acceptance
Table 1. List of AOSE methodologies
introduced before year 2000.
AOSE methodologies
Common features of agents
Agents share some common characteristics:
 Identifier :
identifies each agent in a multiagent system
 Role :
defines the behaviour of an agent into the society (es. Seller, Buyer)
 Organization :
defines the relationships between the roles (similar to human or animal
organizations such as hierarchies, markets, groups of interest or herds)
 Capability :
specifies what an agent is able to do and under what conditions
 Service :
describes an activity that an agent can perform and is provided to other
agents
Representation of agents
UML Class Diagrams can be used to represent the
static view of agents.
<<agent>> agent-name
Role
role 1, role 2, …, role n
role dynamic 1, role dynamic 2, …, role dynamic n
Organization
organization 1, organization 2, …, organization n
org dynamic 1, org dynamic 2, …, org dynamic n
Capabilities representation (1)
A capability is composed of the following parts:
 Input
 Output
 Input constraints
 Output constraints
 Input-output constraints
 Description
Capabilities representation (2)
<<capability>> addition
Input
x,y:Integer
Output
s:Integer
Description
This capability makes the sum of
two integers and returns an integer
<<agent>> sum
Role
addition, subtraction
rd 1
Organization
calculator
Protocol
enter-society, exit-society
compute
<<capability>> subtraction
Input
x,y:Integer
Output
d:Integer
Input Constraint
x>=0, y>=0
Input-Output Constraint
x-y >=0
Description
This capability makes the
difference of two integers and
returns an integer
• Example of capability representation:
The agent ‘sum’ has two
capabilities expressing the fact
that he is able to make additions
and subtractions
They can be defined
using OCL or simple
logic expressions
Service representation (1)
A service is composed of the following parts:
 Name
 Description
 Type
 Protocol
 Agent communication language
 Ontology
 Content language
 Properties
Service representation (2)
<<agent>> sum
Role
addition, subtraction
rd 1
Organization
calculator
Protocol
enter-society, exit-society
compute
<<service>> computation
Description
This service makes an addition when
requested by the request addition
protocol and makes a subtraction
when requested by the request-
subtraction protocol
Type
computation
Protocol
request-addition
request-subtraction
Agent Communication Language
FIPAACL
Ontology
computation ontology
Content Language
FIPA SL
• Example of service representation:
The agent ‘sum’ exports a service that
makes additions and subtractions on
demand
Representing interactions
What are Sequence Diagrams?
• Sequence Diagrams are interaction diagrams that detail
how operations are carried out .
• Interaction diagrams model important runtime interactions
between the parts that make up the system .
• Interactions Diagrams
- Sequence diagrams
- Interaction overview diagrams
-Timing diagrams
- Communication diagrams
Representing interactions
Agent interactions can be represented in
UML standard using sequence diagrams
Concurrent interactions (1)
• UML has been extended in order to represent concurrent communication acts
sent from the sender agent to the receiver.
a) Concurrent communication acts from CA-1 to
CA-n are sent in parallel.
b) A selection of the n acts is sent in parallel
(zero or more).
c) Exclusive choice: only one of the
communication acts is sent.
Concurrent interactions (1)
Concurrent interactions (2)
• a) An agent sends 3 concurrent
CA to another agent. The
diagram can be interpreted in
two different ways:
– Every CA is processed from
the same agent/role by a
different thread of execution
– Every CA is processed by a
different role of the agent (in
this case mesages can be
annotated specifying the role)
 b) The same semantic of (a) but
with a simpler notation
Concurrent interactions (2)
• c) Choice from three different
communication act received by
three different threads (or roles)
• NOTE: each concurrent
CA can be sent to
different agents
Example of interaction
• The Buyer sends a request-for-
proposal to the Seller
• The Seller has three options to
choose within the deadline:
– make a proposal
– refuse (with different reasons)
– say he did not understand
• If the Seller has made a
proposal, the Buyer has the
choice to reject or to accept it
• If the last is the case, the Seller
schedules the proposal
informing the Buyer about its
the state
• The Buyer can cancel the
proposal execution at any time
Detailing interaction messages
• Any interaction process
can be expressed in
more detail.
• The “leveling” can
continue down until the
problem has been
specified adequately to
generate code.
• Also activity diagrams
and statecharts can be
used.
Internal Agent Processing
Processing within an Order Processor agent
Roles management
• UML sequence diagrams can be used to represent
changes in agents’ role.
Object role in AOP
• Objects may always be included in an agent-oriented system
and can communicate with agents using message passing
methods.
Other AUML Considerations
Richer role specification
Package extension
Deployment diagram extension
Deployment Diagram Extensions
Indication of
mobility paths
and at-home
declarations
References (1)
Agents
– [Wooldridge et al, 1995]
Wooldridge and Jennings
Intelligent Agents: Theory and Practice
Knowledge Engineering Review
Volume 10 No 2, June 1995
Cambridge University Press
(www.csc.liv.ac.uk/~mjw/pubs/ker95/ker95-html.html)
– [Shoham, 1993]
Y. Shoham
Agent-oriented programming
Artificial Intelligence
60(1):51-92
(http://www.ncat.edu/~esterlin/c7902s02/Notes/Shoham.pdf)
References (2)
Agent UML
– http://www.auml.org/
– http://www.jamesodell.com/
– http://aot.ce.unipr.it/auml/

More Related Content

What's hot

Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1
Haitham Raik
 
Uml
UmlUml
Lecture07
Lecture07Lecture07
Lecture07
artgreen
 
Lecture12
Lecture12Lecture12
Lecture12
artgreen
 
Ooad
OoadOoad
Ooad
jojikhan
 
CS8592 Object Oriented Analysis & Design - UNIT I
CS8592 Object Oriented Analysis & Design - UNIT ICS8592 Object Oriented Analysis & Design - UNIT I
CS8592 Object Oriented Analysis & Design - UNIT I
pkaviya
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
artgreen
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
Saraswati Saud
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
Prof. Erwin Globio
 
Object Oriented Analysis and Design with UML2 part2
Object Oriented Analysis and Design with UML2 part2Object Oriented Analysis and Design with UML2 part2
Object Oriented Analysis and Design with UML2 part2
Haitham Raik
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
raj kumar
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
Chapter1
Chapter1Chapter1
Chapter1
Dang Tuan
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Anirban Majumdar
 
Object Oriented Analysis &amp; Design
Object Oriented Analysis &amp; DesignObject Oriented Analysis &amp; Design
Object Oriented Analysis &amp; Design
kpthakershy
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
Khushboo Wadhwani
 
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
artgreen
 
Object oriented analysis and design
Object oriented analysis and designObject oriented analysis and design
Object oriented analysis and design
Prem Aseem Jain
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Ooad
OoadOoad

What's hot (20)

Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1Object Oriented Analysis and Design with UML2 part1
Object Oriented Analysis and Design with UML2 part1
 
Uml
UmlUml
Uml
 
Lecture07
Lecture07Lecture07
Lecture07
 
Lecture12
Lecture12Lecture12
Lecture12
 
Ooad
OoadOoad
Ooad
 
CS8592 Object Oriented Analysis & Design - UNIT I
CS8592 Object Oriented Analysis & Design - UNIT ICS8592 Object Oriented Analysis & Design - UNIT I
CS8592 Object Oriented Analysis & Design - UNIT I
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Object Oriented Analysis and Design with UML2 part2
Object Oriented Analysis and Design with UML2 part2Object Oriented Analysis and Design with UML2 part2
Object Oriented Analysis and Design with UML2 part2
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Chapter1
Chapter1Chapter1
Chapter1
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Object Oriented Analysis &amp; Design
Object Oriented Analysis &amp; DesignObject Oriented Analysis &amp; Design
Object Oriented Analysis &amp; Design
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
 
Object oriented analysis and design
Object oriented analysis and designObject oriented analysis and design
Object oriented analysis and design
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Ooad
OoadOoad
Ooad
 

Viewers also liked

Info
InfoInfo
Oca sql
Oca sqlOca sql
Oca sql
rdctnawaf
 
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسبنموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
ymalli
 
Information management for Decision making and information sharing in disaste...
Information management for Decision making and information sharing in disaste...Information management for Decision making and information sharing in disaste...
Information management for Decision making and information sharing in disaste...
Dr. Mohamed Gabr
 
نظم المعلومات في المؤسسات التعليمية
نظم المعلومات في المؤسسات التعليميةنظم المعلومات في المؤسسات التعليمية
نظم المعلومات في المؤسسات التعليمية
Nadia BENABDI
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
Mohamed Elagnaf
 
ERDigram
ERDigramERDigram
نظام التشغيل
نظام التشغيلنظام التشغيل
نظام التشغيل
د.فداء الشنيقات
 
Random 111018004952-phpapp02
Random 111018004952-phpapp02Random 111018004952-phpapp02
Random 111018004952-phpapp02
algaffal
 
تعريف نظام التشغيل وكيفية عمله
تعريف نظام التشغيل وكيفية عملهتعريف نظام التشغيل وكيفية عمله
تعريف نظام التشغيل وكيفية عملهAhmad Abdelbaqy
 
محاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيلمحاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيل
zakaria_alathari
 
Random 111018004952-phpapp02-161130004551
Random 111018004952-phpapp02-161130004551Random 111018004952-phpapp02-161130004551
Random 111018004952-phpapp02-161130004551
noor basher
 
الوحدة الخامسة - قاعدة البيانات وادارتها
الوحدة الخامسة - قاعدة البيانات وادارتهاالوحدة الخامسة - قاعدة البيانات وادارتها
الوحدة الخامسة - قاعدة البيانات وادارتها
Amin Abu Hammad
 
ادارة الاجتماعات للدكتور الفقي
ادارة الاجتماعات للدكتور الفقيادارة الاجتماعات للدكتور الفقي
ادارة الاجتماعات للدكتور الفقي
Hamad Al-Qahtani
 
الوحدة الثامنة - قاعدة البيانات وادارتها
الوحدة الثامنة - قاعدة البيانات وادارتهاالوحدة الثامنة - قاعدة البيانات وادارتها
الوحدة الثامنة - قاعدة البيانات وادارتها
Amin Abu Hammad
 
محضر اجتماع
محضر اجتماعمحضر اجتماع
محضر اجتماع
Sadeem Rashid
 
الوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتهاالوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتها
Amin Abu Hammad
 
نموذج اجتماع وأجندة - Meeting template
نموذج اجتماع وأجندة - Meeting templateنموذج اجتماع وأجندة - Meeting template
نموذج اجتماع وأجندة - Meeting template
Dr Ghaiath Hussein
 
دليل المدرب لبرنامج إدارة الاجتماعات
دليل المدرب لبرنامج إدارة الاجتماعاتدليل المدرب لبرنامج إدارة الاجتماعات
دليل المدرب لبرنامج إدارة الاجتماعات
tanmya-eg
 
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعاتسلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
Dr Ghaiath Hussein
 

Viewers also liked (20)

Info
InfoInfo
Info
 
Oca sql
Oca sqlOca sql
Oca sql
 
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسبنموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
نموذج لعمل المشروع المطلوب لمقرر برمجة الحاسب
 
Information management for Decision making and information sharing in disaste...
Information management for Decision making and information sharing in disaste...Information management for Decision making and information sharing in disaste...
Information management for Decision making and information sharing in disaste...
 
نظم المعلومات في المؤسسات التعليمية
نظم المعلومات في المؤسسات التعليميةنظم المعلومات في المؤسسات التعليمية
نظم المعلومات في المؤسسات التعليمية
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
ERDigram
ERDigramERDigram
ERDigram
 
نظام التشغيل
نظام التشغيلنظام التشغيل
نظام التشغيل
 
Random 111018004952-phpapp02
Random 111018004952-phpapp02Random 111018004952-phpapp02
Random 111018004952-phpapp02
 
تعريف نظام التشغيل وكيفية عمله
تعريف نظام التشغيل وكيفية عملهتعريف نظام التشغيل وكيفية عمله
تعريف نظام التشغيل وكيفية عمله
 
محاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيلمحاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيل
 
Random 111018004952-phpapp02-161130004551
Random 111018004952-phpapp02-161130004551Random 111018004952-phpapp02-161130004551
Random 111018004952-phpapp02-161130004551
 
الوحدة الخامسة - قاعدة البيانات وادارتها
الوحدة الخامسة - قاعدة البيانات وادارتهاالوحدة الخامسة - قاعدة البيانات وادارتها
الوحدة الخامسة - قاعدة البيانات وادارتها
 
ادارة الاجتماعات للدكتور الفقي
ادارة الاجتماعات للدكتور الفقيادارة الاجتماعات للدكتور الفقي
ادارة الاجتماعات للدكتور الفقي
 
الوحدة الثامنة - قاعدة البيانات وادارتها
الوحدة الثامنة - قاعدة البيانات وادارتهاالوحدة الثامنة - قاعدة البيانات وادارتها
الوحدة الثامنة - قاعدة البيانات وادارتها
 
محضر اجتماع
محضر اجتماعمحضر اجتماع
محضر اجتماع
 
الوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتهاالوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتها
 
نموذج اجتماع وأجندة - Meeting template
نموذج اجتماع وأجندة - Meeting templateنموذج اجتماع وأجندة - Meeting template
نموذج اجتماع وأجندة - Meeting template
 
دليل المدرب لبرنامج إدارة الاجتماعات
دليل المدرب لبرنامج إدارة الاجتماعاتدليل المدرب لبرنامج إدارة الاجتماعات
دليل المدرب لبرنامج إدارة الاجتماعات
 
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعاتسلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
سلسلة بناء وتطوير القدرات إعداد وإدارة الاجتماعات
 

Similar to Extending UML for Agents

UML Diagrams
UML DiagramsUML Diagrams
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
Ch 2.1
Ch 2.1Ch 2.1
UML Unit 01
UML Unit 01UML Unit 01
UML.pptx
UML.pptxUML.pptx
UML.pptx
RAJESH S
 
uml.ppt
uml.pptuml.ppt
uml.ppt
AnilKumarARS
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
RAJESH S
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
Neeraj Kaushik
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
Neeraj Kaushik
 
Uml
UmlUml
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
ThorOdinson55
 
Chap5 oodm-uml-part11
Chap5 oodm-uml-part11Chap5 oodm-uml-part11
Chap5 oodm-uml-part11
SJC
 
Chap5 oodm-uml-part1
Chap5 oodm-uml-part1Chap5 oodm-uml-part1
Chap5 oodm-uml-part1
SJC
 
UML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great KnowledgeUML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great Knowledge
AssadLeo1
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
City University
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
Steve Nash
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
Benazir Fathima
 
Uml and enterprise architect
Uml and enterprise architectUml and enterprise architect
Uml and enterprise architect
Md Touhidul Alam Shuvo
 

Similar to Extending UML for Agents (20)

UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
UML Unit 01
UML Unit 01UML Unit 01
UML Unit 01
 
UML.pptx
UML.pptxUML.pptx
UML.pptx
 
uml.ppt
uml.pptuml.ppt
uml.ppt
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Uml
UmlUml
Uml
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
 
Chap5 oodm-uml-part11
Chap5 oodm-uml-part11Chap5 oodm-uml-part11
Chap5 oodm-uml-part11
 
Chap5 oodm-uml-part1
Chap5 oodm-uml-part1Chap5 oodm-uml-part1
Chap5 oodm-uml-part1
 
UML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great KnowledgeUML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great Knowledge
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Uml and enterprise architect
Uml and enterprise architectUml and enterprise architect
Uml and enterprise architect
 

Recently uploaded

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 

Recently uploaded (20)

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 

Extending UML for Agents

  • 1. Extending UML for Agents ‫الطالب‬:‫الغائب‬ ‫علي‬ ‫عمر‬ ‫حسن‬‫الطالب‬:‫محمد‬ ‫مفتاح‬ ‫محمد‬‫األجنف‬ ‫دراسي‬ ‫رقم‬:6269‫دراسي‬ ‫رقم‬:6109 ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬ ‫للدكتور‬ ‫مقدم‬:‫العماري‬ ‫محمد‬
  • 2. Overview 2. Introduction to Agents 3. Introduction to Agent UML 4. Class Diagram 5. Interaction Diagram 1. Introduction to UML
  • 3. Introduction to UML • Static models: class, package diagrams • Dynamic models: Interaction diagrams (sequence and collaboration) State diagrams Activity diagrams • Implementation models: component, deployment diagrams Object constraint language (OCL)
  • 4. Introduction to Agent What is an agent ? An agent is an hardware or software system placed in an environment that enjoys the following properties:  Autonomy .  Socialability .  Reactivity .  Proactivity .
  • 5. Introduction to Agent UML What is Agent UML ?  Agent UML is a support notation for agent- oriented systems development.  It consists in using the UML modeling language and extending it in order to represent agents, their behavior and interactions among them.  AUML is not restricted to using UML. Other approaches should be used wherever it makes sense.
  • 6. Who is interestedin AUML • OMG Special Interest Group: recommends standards for agent technology where appropriate (www.omg.org) • FIPA Modeling Technical Commitee: tasked with developing an AUML standard (www.auml.org) • Other methodologies: MESSAGE, Gaia, Tropos, Prometheus, MaSE, ...
  • 7. Reference(s)YearMethodology# (Cockburn and Jennings, 1996)1991ARCHON1 (O’Hare and Wooldridge , 1992)1992MADE2 (Singh et al., 1993)1993DRM3 (Gadomski, 1993)1993TOGA4 (Elammari, 1999)1999HIM5 (Wooldridge et al., 2000; Zamboneli et al., 2005) 2000Gaia6 (Caire et al., 2000; Evans et al., 2001) 2000MESSAGE/UML7 A survey of agent-oriented software engineering paradigm: Towards its industrial acceptance Table 1. List of AOSE methodologies introduced before year 2000.
  • 9. Common features of agents Agents share some common characteristics:  Identifier : identifies each agent in a multiagent system  Role : defines the behaviour of an agent into the society (es. Seller, Buyer)  Organization : defines the relationships between the roles (similar to human or animal organizations such as hierarchies, markets, groups of interest or herds)  Capability : specifies what an agent is able to do and under what conditions  Service : describes an activity that an agent can perform and is provided to other agents
  • 10. Representation of agents UML Class Diagrams can be used to represent the static view of agents. <<agent>> agent-name Role role 1, role 2, …, role n role dynamic 1, role dynamic 2, …, role dynamic n Organization organization 1, organization 2, …, organization n org dynamic 1, org dynamic 2, …, org dynamic n
  • 11. Capabilities representation (1) A capability is composed of the following parts:  Input  Output  Input constraints  Output constraints  Input-output constraints  Description
  • 12. Capabilities representation (2) <<capability>> addition Input x,y:Integer Output s:Integer Description This capability makes the sum of two integers and returns an integer <<agent>> sum Role addition, subtraction rd 1 Organization calculator Protocol enter-society, exit-society compute <<capability>> subtraction Input x,y:Integer Output d:Integer Input Constraint x>=0, y>=0 Input-Output Constraint x-y >=0 Description This capability makes the difference of two integers and returns an integer • Example of capability representation: The agent ‘sum’ has two capabilities expressing the fact that he is able to make additions and subtractions They can be defined using OCL or simple logic expressions
  • 13. Service representation (1) A service is composed of the following parts:  Name  Description  Type  Protocol  Agent communication language  Ontology  Content language  Properties
  • 14. Service representation (2) <<agent>> sum Role addition, subtraction rd 1 Organization calculator Protocol enter-society, exit-society compute <<service>> computation Description This service makes an addition when requested by the request addition protocol and makes a subtraction when requested by the request- subtraction protocol Type computation Protocol request-addition request-subtraction Agent Communication Language FIPAACL Ontology computation ontology Content Language FIPA SL • Example of service representation: The agent ‘sum’ exports a service that makes additions and subtractions on demand
  • 15. Representing interactions What are Sequence Diagrams? • Sequence Diagrams are interaction diagrams that detail how operations are carried out . • Interaction diagrams model important runtime interactions between the parts that make up the system . • Interactions Diagrams - Sequence diagrams - Interaction overview diagrams -Timing diagrams - Communication diagrams
  • 16. Representing interactions Agent interactions can be represented in UML standard using sequence diagrams
  • 17. Concurrent interactions (1) • UML has been extended in order to represent concurrent communication acts sent from the sender agent to the receiver. a) Concurrent communication acts from CA-1 to CA-n are sent in parallel. b) A selection of the n acts is sent in parallel (zero or more).
  • 18. c) Exclusive choice: only one of the communication acts is sent. Concurrent interactions (1)
  • 19. Concurrent interactions (2) • a) An agent sends 3 concurrent CA to another agent. The diagram can be interpreted in two different ways: – Every CA is processed from the same agent/role by a different thread of execution – Every CA is processed by a different role of the agent (in this case mesages can be annotated specifying the role)  b) The same semantic of (a) but with a simpler notation
  • 20. Concurrent interactions (2) • c) Choice from three different communication act received by three different threads (or roles) • NOTE: each concurrent CA can be sent to different agents
  • 21. Example of interaction • The Buyer sends a request-for- proposal to the Seller • The Seller has three options to choose within the deadline: – make a proposal – refuse (with different reasons) – say he did not understand • If the Seller has made a proposal, the Buyer has the choice to reject or to accept it • If the last is the case, the Seller schedules the proposal informing the Buyer about its the state • The Buyer can cancel the proposal execution at any time
  • 22. Detailing interaction messages • Any interaction process can be expressed in more detail. • The “leveling” can continue down until the problem has been specified adequately to generate code. • Also activity diagrams and statecharts can be used.
  • 23. Internal Agent Processing Processing within an Order Processor agent
  • 24. Roles management • UML sequence diagrams can be used to represent changes in agents’ role.
  • 25. Object role in AOP • Objects may always be included in an agent-oriented system and can communicate with agents using message passing methods.
  • 26. Other AUML Considerations Richer role specification Package extension Deployment diagram extension
  • 27. Deployment Diagram Extensions Indication of mobility paths and at-home declarations
  • 28. References (1) Agents – [Wooldridge et al, 1995] Wooldridge and Jennings Intelligent Agents: Theory and Practice Knowledge Engineering Review Volume 10 No 2, June 1995 Cambridge University Press (www.csc.liv.ac.uk/~mjw/pubs/ker95/ker95-html.html) – [Shoham, 1993] Y. Shoham Agent-oriented programming Artificial Intelligence 60(1):51-92 (http://www.ncat.edu/~esterlin/c7902s02/Notes/Shoham.pdf)
  • 29. References (2) Agent UML – http://www.auml.org/ – http://www.jamesodell.com/ – http://aot.ce.unipr.it/auml/