SlideShare a Scribd company logo
Agent UML
Mohamed Elagnaf
D.tariq Alshhibya
Overview
UML for Agents
UML
Agent UML (AUML)
Agent Interaction Protocols
Richer Role Specification
Package Extension
Deployment Diagram Extension
Conclusion
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)
AUML: Agent UML
Both FIPA and OMG are exploring and
recommending extensions
to UML
Applications:
Specification of Agent Interaction
Protocols (AIP)
Richer role specification
Package extension
Deployment diagram extension
Agent Interaction Protocols
AIP describes a communication
pattern as an allowed sequence of
messages between agents and the
constraints of the content of
those messages.
FIPA has specified many protocols
Request Protocol, Query Protocol,
Request-when Protocol, Contract-
net Protocol, Iterated-Contract-Net
Protocol, Auction-English Protocol,
Auction-Dutch Protocol
FIPA Contract-net Protocol
The manager solicits proposals from other agents by
issuing a call for proposals, which specifies the task and
any conditions the manager is placing upon the execution
of the task.
Agents receiving the call for proposals are viewed as
potential contractors, and are able to generate proposals to
perform the task as propose acts.
The contractor’s proposal includes the preconditions that
the contractor is setting out for the task, which may be the
price, time when the task will be done, etc.
The contractor may refuse to propose.
FIPA Contract-net Protocol, Cont’d.
The manager receives back replies from all of the contractors,
evaluates the proposals and makes its choice of which agents will
perform the task. One, several, or no agents may be chosen. The
agents of the selected proposal(s) will be sent an acceptance
message, the others will receive a notice of rejection.
Once the manager accepts the proposal the contractor acquires a
commitment to perform the task. Once the contractor has completed the
task, it sends a completion message to the manager.
The protocol requires the manager to know when it has received all
replies. In the case that a contractor fails to reply with either a propose or
a refuse, the manager may potentially be left waiting indefinitely. To guard
against this, the cfp includes a deadline by which replies should be
received by the manager.
FIPA Notation
AUML Approach to Protocols
AUML adopts a layered approach to protocols:
Level 1 - Represent the overall protocol (sequence
diagrams, packages, templates)
Level 2- Represent interactions among agents
(sequence,
collaboration, activity, state diagrams)
Level 3- Represent internal Agent Processing (activity
and state diagrams)
A Layered Approach to Protocols
Level 1:
Overall
protocol
Level 1: Overall Protocol
(Packages)
Packages aggregate modeling elements into
conceptual wholes
in UML 1.3 packages only group class diagrams
Protocols can be codified as patterns of agent
interaction
in AUML packages can group sequence diagrams
(to model protocol patterns)
Level 1: Using Packages to Express
Nested Protocols
Purchasing protocol (Broker X Retailer)
Supplying protocol (Retailer X Wholesaler)
Level 1- Overall Protocol : Templates
In order for a package to be a true pattern (not simply a
reusable component) customization must be supported
A template is a parameterized model element whose
parameters are bound at model time
Represented by doted box in upper right corner of the
package
Contract Net Protocol
Level 1 Scenario Involving
Buyers and Sellers
Level 2: Interactions Among Agents
Extended sequence diagrams (concurrent threads of
interaction)
Collaboration diagrams
Activity diagrams
Extended Sequence Diagrams
The multiple vertical bars indicate that the
receiving agent is processing several
communication threads concurrently.
Concurrent
Communication
Extended Sequence Diagrams
A decision box will decide which CAs
(zero or more) will be sent.
If more than one CA is sent, the
communication is concurrent
Extended Sequence Diagrams
Exclusive OR, so exactly one CA will be sent
Extended Sequence Diagrams
Expressing the roles an agent play: Agent/Role
Collaboration Diagrams
Another way of showing pattern of interaction among agents
Activity Diagrams
Provides an explicit thread of control
Useful for complex interaction protocols that involve concurrent
processing
ECN:
Electronic
Commerce
Network
Agent
Internal Agent Processing
Processing within an Order Processor
agent
Internal Agent Processing
Payment Receiver and Invoice Sender Agents
Other AUML Considerations
Richer role specification
Package extension
Deployment diagram extension
Richer Role Specification
Often we need to express the role an agent may
play in the course of its interaction with other
agents
If the number of agent and roles increases, UML
diagrams become
graphically to complex
Agent/Role Extension
Four agents playing 6 Roles:
Customer, Negotiator, Contractor,
Competitor Analyzer, Competitor, Debtor
Reducing Visual Complexity
Each role with its own lifeline
Reducing Visual Complexity
 Each agent with a single lifeline and each activation is labeled
with the appropriate roll name
Role and Collaboration Diagrams
 UML has no facility to represent agent roles on interaction lines
 Labeling messages with the role
Role and Activity Diagram
 Roles can be associated with activities
Role and Activity Diagram
 Roles can be represented by notes
Package Extensions
 The interface can be an agent itself
Deployment Diagram Extensions
Indication of
mobility paths
and at-home
declarations
Conclusions
 (A)UML provides tools for provides tools for
 Specifying agent interaction protocols
 Representing the internal behavior of an agent
 Representing role specification, packages with agent
interfaces, deployment diagrams indicating mobility, etc.
References
 James Odell, H. Van Dyke Parunak, Bernhard Bauer.
Representing Agent Interaction Protocols in UML, 1999.
 James Odell, H. Van Dyke Parunak, Bernhard Bauer.
Extending UML for Agents, 2000.
 James Odell, Conrad Bock. OMG document ad/99-12-01.
Suggested UML Extensions for Agents. Submitted to the OMG’s
Analysis and Design Task Force (ADTF) in response to the
Request of Information (RFI) entitled “UML2.0 RFI”. Dec. 1999.
 Bernhard Bauer. OMG document ad/99-12-03. Extending UML
for the Specification of Agent Interaction Protocols. FIPA
submission to the OMG’s Analysis and Design Task Force
(ADTF) in response to the Request of Information (RFI) entitled
“UML2.0 RFI”. Dec. 1999.

More Related Content

What's hot

Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
artgreen
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
Raval Chirag
 
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
 
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
 
Uml
UmlUml
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
artgreen
 
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
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
Saraswati Saud
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
raj kumar
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
artgreen
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
Khushboo Wadhwani
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
Object Oriented Analysis & Design
Object Oriented Analysis & DesignObject Oriented Analysis & Design
Object Oriented Analysis & Design
kpthakershy
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
Sudarsun Santhiappan
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Anirban Majumdar
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 

What's hot (20)

Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Lecture12
Lecture12Lecture12
Lecture12
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
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
 
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
 
Uml
UmlUml
Uml
 
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
 
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
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
 
Ooad
OoadOoad
Ooad
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Chapter1
Chapter1Chapter1
Chapter1
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Object Oriented Analysis & Design
Object Oriented Analysis & DesignObject Oriented Analysis & Design
Object Oriented Analysis & Design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
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
 

Similar to agent uml الوكيل باستخدام لغة النمذجة الموحدة

uml.ppt
uml.pptuml.ppt
uml.ppt
AnilKumarARS
 
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
 
l1_introuml.pdf
l1_introuml.pdfl1_introuml.pdf
l1_introuml.pdf
KalsoomTahir2
 
Ch 2.1
Ch 2.1Ch 2.1
Documenting Software Architectural Component and Connector with UML 2
Documenting Software Architectural Component and Connector with UML 2Documenting Software Architectural Component and Connector with UML 2
Documenting Software Architectural Component and Connector with UML 2
editor1knowledgecuddle
 
Introduction To Uml
Introduction To UmlIntroduction To Uml
Introduction To Umlguest514814
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
Apostila UML
Apostila UMLApostila UML
Apostila UML
landergustavo
 
All about agents jade
All about agents jadeAll about agents jade
All about agents jade
Aryan Rathore
 
Executable UML – UML2
Executable UML – UML2Executable UML – UML2
Executable UML – UML2elliando dias
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
Husnain Safdar
 
A novel methodology for test scenario generation based on control flow analys...
A novel methodology for test scenario generation based on control flow analys...A novel methodology for test scenario generation based on control flow analys...
A novel methodology for test scenario generation based on control flow analys...
eSAT Publishing House
 
UML Diagrams
UML DiagramsUML Diagrams
Executable UML and SysML Workshop
Executable UML and SysML WorkshopExecutable UML and SysML Workshop
Executable UML and SysML Workshop
Ed Seidewitz
 
UML: Once More with Meaning
UML: Once More with MeaningUML: Once More with Meaning
UML: Once More with Meaning
Ed Seidewitz
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UMLDang Tuan
 

Similar to agent uml الوكيل باستخدام لغة النمذجة الموحدة (20)

uml.ppt
uml.pptuml.ppt
uml.ppt
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
l1_introuml.pdf
l1_introuml.pdfl1_introuml.pdf
l1_introuml.pdf
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Documenting Software Architectural Component and Connector with UML 2
Documenting Software Architectural Component and Connector with UML 2Documenting Software Architectural Component and Connector with UML 2
Documenting Software Architectural Component and Connector with UML 2
 
Introduction To Uml
Introduction To UmlIntroduction To Uml
Introduction To Uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Apostila UML
Apostila UMLApostila UML
Apostila UML
 
All about agents jade
All about agents jadeAll about agents jade
All about agents jade
 
Executable UML – UML2
Executable UML – UML2Executable UML – UML2
Executable UML – UML2
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
A novel methodology for test scenario generation based on control flow analys...
A novel methodology for test scenario generation based on control flow analys...A novel methodology for test scenario generation based on control flow analys...
A novel methodology for test scenario generation based on control flow analys...
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Executable UML and SysML Workshop
Executable UML and SysML WorkshopExecutable UML and SysML Workshop
Executable UML and SysML Workshop
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
UML: Once More with Meaning
UML: Once More with MeaningUML: Once More with Meaning
UML: Once More with Meaning
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UML
 

Recently uploaded

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 

agent uml الوكيل باستخدام لغة النمذجة الموحدة

  • 2. Overview UML for Agents UML Agent UML (AUML) Agent Interaction Protocols Richer Role Specification Package Extension Deployment Diagram Extension Conclusion
  • 3. 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. AUML: Agent UML Both FIPA and OMG are exploring and recommending extensions to UML Applications: Specification of Agent Interaction Protocols (AIP) Richer role specification Package extension Deployment diagram extension
  • 5. Agent Interaction Protocols AIP describes a communication pattern as an allowed sequence of messages between agents and the constraints of the content of those messages. FIPA has specified many protocols Request Protocol, Query Protocol, Request-when Protocol, Contract- net Protocol, Iterated-Contract-Net Protocol, Auction-English Protocol, Auction-Dutch Protocol
  • 6. FIPA Contract-net Protocol The manager solicits proposals from other agents by issuing a call for proposals, which specifies the task and any conditions the manager is placing upon the execution of the task. Agents receiving the call for proposals are viewed as potential contractors, and are able to generate proposals to perform the task as propose acts. The contractor’s proposal includes the preconditions that the contractor is setting out for the task, which may be the price, time when the task will be done, etc. The contractor may refuse to propose.
  • 7. FIPA Contract-net Protocol, Cont’d. The manager receives back replies from all of the contractors, evaluates the proposals and makes its choice of which agents will perform the task. One, several, or no agents may be chosen. The agents of the selected proposal(s) will be sent an acceptance message, the others will receive a notice of rejection. Once the manager accepts the proposal the contractor acquires a commitment to perform the task. Once the contractor has completed the task, it sends a completion message to the manager. The protocol requires the manager to know when it has received all replies. In the case that a contractor fails to reply with either a propose or a refuse, the manager may potentially be left waiting indefinitely. To guard against this, the cfp includes a deadline by which replies should be received by the manager.
  • 9. AUML Approach to Protocols AUML adopts a layered approach to protocols: Level 1 - Represent the overall protocol (sequence diagrams, packages, templates) Level 2- Represent interactions among agents (sequence, collaboration, activity, state diagrams) Level 3- Represent internal Agent Processing (activity and state diagrams)
  • 10. A Layered Approach to Protocols
  • 12. Level 1: Overall Protocol (Packages) Packages aggregate modeling elements into conceptual wholes in UML 1.3 packages only group class diagrams Protocols can be codified as patterns of agent interaction in AUML packages can group sequence diagrams (to model protocol patterns)
  • 13. Level 1: Using Packages to Express Nested Protocols Purchasing protocol (Broker X Retailer) Supplying protocol (Retailer X Wholesaler)
  • 14. Level 1- Overall Protocol : Templates In order for a package to be a true pattern (not simply a reusable component) customization must be supported A template is a parameterized model element whose parameters are bound at model time Represented by doted box in upper right corner of the package
  • 15. Contract Net Protocol Level 1 Scenario Involving Buyers and Sellers
  • 16. Level 2: Interactions Among Agents Extended sequence diagrams (concurrent threads of interaction) Collaboration diagrams Activity diagrams
  • 17. Extended Sequence Diagrams The multiple vertical bars indicate that the receiving agent is processing several communication threads concurrently. Concurrent Communication
  • 18. Extended Sequence Diagrams A decision box will decide which CAs (zero or more) will be sent. If more than one CA is sent, the communication is concurrent
  • 19. Extended Sequence Diagrams Exclusive OR, so exactly one CA will be sent
  • 20. Extended Sequence Diagrams Expressing the roles an agent play: Agent/Role
  • 21. Collaboration Diagrams Another way of showing pattern of interaction among agents
  • 22. Activity Diagrams Provides an explicit thread of control Useful for complex interaction protocols that involve concurrent processing ECN: Electronic Commerce Network Agent
  • 23. Internal Agent Processing Processing within an Order Processor agent
  • 24. Internal Agent Processing Payment Receiver and Invoice Sender Agents
  • 25. Other AUML Considerations Richer role specification Package extension Deployment diagram extension
  • 26. Richer Role Specification Often we need to express the role an agent may play in the course of its interaction with other agents If the number of agent and roles increases, UML diagrams become graphically to complex
  • 27. Agent/Role Extension Four agents playing 6 Roles: Customer, Negotiator, Contractor, Competitor Analyzer, Competitor, Debtor
  • 28. Reducing Visual Complexity Each role with its own lifeline
  • 29. Reducing Visual Complexity  Each agent with a single lifeline and each activation is labeled with the appropriate roll name
  • 30. Role and Collaboration Diagrams  UML has no facility to represent agent roles on interaction lines  Labeling messages with the role
  • 31. Role and Activity Diagram  Roles can be associated with activities
  • 32. Role and Activity Diagram  Roles can be represented by notes
  • 33. Package Extensions  The interface can be an agent itself
  • 34. Deployment Diagram Extensions Indication of mobility paths and at-home declarations
  • 35. Conclusions  (A)UML provides tools for provides tools for  Specifying agent interaction protocols  Representing the internal behavior of an agent  Representing role specification, packages with agent interfaces, deployment diagrams indicating mobility, etc.
  • 36. References  James Odell, H. Van Dyke Parunak, Bernhard Bauer. Representing Agent Interaction Protocols in UML, 1999.  James Odell, H. Van Dyke Parunak, Bernhard Bauer. Extending UML for Agents, 2000.  James Odell, Conrad Bock. OMG document ad/99-12-01. Suggested UML Extensions for Agents. Submitted to the OMG’s Analysis and Design Task Force (ADTF) in response to the Request of Information (RFI) entitled “UML2.0 RFI”. Dec. 1999.  Bernhard Bauer. OMG document ad/99-12-03. Extending UML for the Specification of Agent Interaction Protocols. FIPA submission to the OMG’s Analysis and Design Task Force (ADTF) in response to the Request of Information (RFI) entitled “UML2.0 RFI”. Dec. 1999.