cap. 4. comunicação entre agentes, linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · ontologies...

33
Cap. 4. Comunicação entre agentes, Linguagens e plataformas de programação multiagentes

Upload: others

Post on 26-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Cap. 4. Comunicação entre agentes,

Linguagens e plataformas de

programação multiagentes

Page 2: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Communication

� In this chapter, we cover macro-aspects of intelligent

� agent technology: those issues relating to the agent

� society, rather than the individual:

� communication :

� speech acts; KQML & KIF; FIPA ACL.� speech acts; KQML & KIF; FIPA ACL.

� cooperation:

� what is cooperation; prisoner’s dilemma; cooperative versus non-cooperative encounters; the contract net.

7-2

Page 3: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Speech Act theory

7-3

Page 4: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Speech Act theory - 2

7-4

Page 5: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Speech Acts

7-5

Page 6: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

7-6

Page 7: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Examples

7-7

Page 8: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Plan based Semantics

7-8

Page 9: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Plan based Semantics for request

7-9

Page 10: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Agent Communication Languages

7-10

Page 11: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

KQML and KIF

7-11

Page 12: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Example

7-12

Page 13: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Dialogue Example

7-13

Page 14: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Dialogue Example – 2 (cont.)

7-14

Page 15: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

FIPA

7-15

Page 16: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

FIPA Example

7-16

Page 17: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

FIPA Performatives

7-17

Page 18: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Basic performatives

7-18

Page 19: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Inform Performative

7-19

Page 20: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Request Performative

7-20

Page 21: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Ontologies

� An ontology may be described in languages like OWL, RDF,RDF/S and others

� Others software suites like Protégé, OntoStudio and others7-21

Page 22: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Ontologies - 2

� Ontologies for complex domains or several domains can be very complex

� For specific simple domains usually they can be simple

� Agent communication platforms usually provide for dealing with ontologies

� JADE provides an “adapter” to import Protégé’s ontology to JADE content reference model

7-22

Page 23: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

7-23

Page 24: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

7-24

Page 25: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

The Contract Net Protocol

7-25

Page 26: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Recognition

7-26

Page 27: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Announcement

7-27

Page 28: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Bidding

7-28

Page 29: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Awarding & Expediting

Page 30: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

The Contract Net via FIPA ACL

Page 31: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Contract Net

Page 32: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

How to bid…

4-32

Page 33: Cap. 4. Comunicação entre agentes, Linguagens e ...pauloac/ct220/ct220_cap4_p1.pdf · Ontologies An ontology may be described in languages like OWL, RDF,RDF/S and others Others

Cost of carrying out tasks

4-33