Computer Science 25/06/20151 Agent Communications: Static Protocols CPSC 601.68/CPSC 599.68 Rob Kremer Department of Computer Science University of Calgary.

Slides:



Advertisements
Similar presentations
What is Petri nets? A bipartite graph G(V,E) – V = P U T P is the set of places (represented with circles) T is the set of transitions (represented with.
Advertisements

Computer Science CPSC 322 Lecture 3 AI Applications.
Techniques to analyze workflows (design-time)
Course: Software Engineering II academic year: Course Web-site: [ Lecturer: Catia Trubiani.
An Introduction to Petri Nets
Based on: Petri Nets and Industrial Applications: A Tutorial
Interaction Modeling for Testing We would generate the test cases based on our understanding of the interactions that may happen. The source is, again,
Department of Computer Science Undergraduate Events More
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
Petri net modeling of biological networks Claudine Chaouiya.
Developing MAS The GAIA Methodology A Brief Summary by António Castro and Prof. Eugénio Oliveira.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Computational Modeling for the Activation Cycle of G-proteins by G-protein-coupled Receptors Student: Yifei Bao 1, Tommy E. White 2, Advisor: Adriana B.
1 Petri Nets H Plan: –Introduce basics of Petri Net models –Define notation and terminology used –Show examples of Petri Net models u Calaway Park model.
12/07/2007Jiacun Wang1 SE-561 Math Foundations Petri Nets - II Dr. Jiacun Wang Department of Software Engineering Monmouth University.
Course: Software Engineering II academic year: Course Web-site: [ Lecturer: Catia Trubiani.
Presentation on Formalising Speech Acts (Course: Formal Logic)
1 Formal Models for Distributed Negotiations From Petri Nets to Join Calculus Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela.
/faculteit technologie management DEMO CPN-tools Ronny Mans Eindhoven University of Technology, Faculty of Technology Management, Department of Information.
Problem Statement Give a formal Problem statement showing the input / output; objective (e.g. minimizing computational cost or other relevant metrics)
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
Computer Science 30/08/20151 Agent Communication BDI Communication CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary.
A model for Message Semantics using Social Commitments Christopher Newport University Department of Physics, Computer Science & Engineering Newport News,
University of Toronto Department of Computer Science © 2001, Steve Easterbrook CSC444 Lec13 1 Lecture 13: Representing software designs Viewpoints Structural.
An Introduction to Petri Nets Marjan Sirjani Formal Methods Laboratory University of Tehran.
Workflow Treatment with Coloured Petri Nets Alexandru Cicortaş Diana
Ch.2 Part C: Message Sequence Charts, UML EECE **** Embedded System Design.
1 Petri Nets III Wednesday, October 26, Review -Timed Petri Net  Time can be associate with places, arcs, or transitions. There are real life.
Intelligent agents, ontologies, simulation and environments for norm-regulated MAS Deliberative Normative Agents Ricardo Gralhoz Governance in Open Multi-Agent.
Virtual Storytelling Adam Abonyi Daniel Balaš. Agenda 1.Introduction to virtual storytelling 2.Petri Nets 3.Our improvements in Petri Nets 4.Example.
Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad.
Integrating UML and Petri Nets Problem with Current Software Engineering Methodology Stochastic Petri nets and their useful properties Translating UML.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
Computer Science CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary 07/12/20151 Agent Communications.
HOMMER: Holistic Model for Minority Education & Research Intelligent E-Commerce Systems Department of Computer and Information Sciences by Bhanu Prasad.
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
School of Computer Science & Software Engineering
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
CS 145A Protocols Netlab.caltech.edu/course. Misc. Extension Extension Textbooks Textbooks.
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
Petri Net based semantic engine Vivek Singh, SEECS, UCF Feb 7, 2002.
Petri-Nets and Other Models
Simulation study: waterfall approach Phases: - Requirements analysis - Model construction (conceptual) - Model implementation (tool) - Validation & Verification.
Turing Machine Model Are there computations that no “reasonable” computing machine can perform? –the machine should not store the answer to all possible.
Week 8 Computational Level
Polynomial analysis algorithms for free-choice workflow nets
Modeling for Testing Interactions
Requirements Techniques, cont.
Exercise class 2.
Marlon Dumas Institute of Computer Science
Concurrent Systems Modeling using Petri Nets
Clockless Computing COMP
Model-Based Testing Model the system
Week 8 Computational Level
Decision Theory: Single Stage Decisions
COT 5611 Operating Systems Design Principles Spring 2014
Chapter 6 – System Design II: Behavioral Models
Workflow Management Systems
بسمه‌تعالي فصل چهاردهم شبکه‌هاي پتري.
Social Commitment Theory
Decision Theory: Single Stage Decisions
Petri nets refresher Prof.dr.ir. Wil van der Aalst
COT 5611 Operating Systems Design Principles Spring 2012
Petri-net Class diagram/state chart (FSM-like UML): minor change from FSM: logic/alg, formal method Petri-Net (not part of UML too hard): formal method.
Marlon Dumas Institute of Computer Science
An Introduction to Petri Nets
Petri nets refresher Prof.dr.ir. Wil van der Aalst
Petri Net :Abstract formal model of information flow Major use:
Petri Nets Laurie Frazier.
Presentation transcript:

Computer Science 25/06/20151 Agent Communications: Static Protocols CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary

25/06/2015CPSC /599.68: Agent Communications2 Static (Ad-hoc) Protocols Merely “scripts” that the agent follows Typical notation is state diagrams Petri nets are a generalization of state diagrams

25/06/2015CPSC /599.68: Agent Communications3 Ad-hoc Protocols: Petri Nets Buyer: Request to BuySeller: Request PaymentSeller: Accepting to SellBuyer: Accepting to PayBuyer: Paying for itemSeller: Accepting PaymentSeller: Handing out itemBuyer: Accepting itemSuccess

25/06/2015CPSC /599.68: Agent Communications4 Simple Petri Nets “Place” “Transition” “Arc” Directed arcs only Strictly bipartite “Tokens” occupy places (a place can contain any number of tokens) A transition can fire only when there is sufficient tokens at all of the incoming places. The transition firing consumes tokens at the incoming side and emits tokens to the places on the outgoing side.

25/06/2015CPSC /599.68: Agent Communications5 Transitions If ALL of a transition’s incoming places have tokens, it MAY fire So if there’s a single token to available for more than one transition, only one of them MAY fire

25/06/2015CPSC /599.68: Agent Communications6 Transitions A transition will place tokens on all of it’s outgoing places IF it fires

25/06/2015CPSC /599.68: Agent Communications7 Transitions EVERY incoming place must have sufficient* tokens available in order for it to fire

25/06/2015CPSC /599.68: Agent Communications8 Transitions Places can contain any number of tokens

25/06/2015CPSC /599.68: Agent Communications9 Lots of other kinds of Petri Nets –Weighted Petri nets –Coloured Petri nets –Hierarchy –Vector addition system with states –Prioritised Petri nets –Timed Petri nets –Stochastic Petri nets –etc. Could do the whole course on Petri Nets! A decent quick description is on Wikipedia at

25/06/2015CPSC /599.68: Agent Communications10 Example: “call for proposals” A MIP-net (Multi-agent Interaction Protocol net) – combining two A-nets (Agent nets) and one IP- net (Interaction Protocol net). Reference: Sea Ling & Seng Wai Loke. A Formal Compositional Model of Multiagent Interaction. AAMAS’03 – International Conference on Autonomous Agents and Multi- Agent System, July 14-18, 2003, Melbourne, Australia. ACM, Also available: 000/860791/p1052- ling.pdf?key1=860791&key2= &coll=&dl=ACM&CFID= &CFTOKEN= /860791/p1052- ling.pdf?key1=860791&key2= &coll=&dl=ACM&CFID= &CFTOKEN= Ling & Loke 2003, p.1053

25/06/2015CPSC /599.68: Agent Communications11 Example: A produce Protocol This is an extension of colored Petri nets called “reference nets” Reference: Lawrence Cabac, Daniel Moldt & Heiko Rolke. A Proposal for Structuring Petri Net-Based Agent Interaction Protocols. Lecture Notes in Computer Science: 24th International Conference on Application and Theory of Petri Nets, Eindhoven, Netherlands, June Springer, Also available: hamburg.de/TGI/mitarbeiter/wimis/cabac/netcomponents.pdf.gzhttp:// hamburg.de/TGI/mitarbeiter/wimis/cabac/netcomponents.pdf.gz

25/06/2015CPSC /599.68: Agent Communications12 Issues Rigid and Brittle Hard to account for all eventualities See assignment 1 to convince yourself of this