Tutorial 3 ACL: Agent Communication Language

Slides:



Advertisements
Similar presentations
Moral Compass Questions Rights and Responsibilities.
Advertisements

Music: Smoke gets in your eyes Pictures By: Unknown source.
Once upon a time there was a child ready to be born.
Give a missing word.  My ___________ brother sreams and shouts very often.
MOTHER DAY.
Original author unknown
Every time I look into your eyes I feel so sad Because you’re not the one for me yeah.
 Listen to the next conversation between two friends about an anecdote that happened to Susy.
S A B D C T = 0 S gets message from above and sends messages to A, C and D S.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Your Assignment Actor 1Actor 2 Request Status Status Check Status Provider Agent DarkChocolate Agent void HandleMessage(Message msg) { if(msg.action ==
Internet Safety Kristi Enriquez. 34% of youth Internet users saw sexual material that they did not want to see According to a study conducted by the National.
I'm thinking of a number. 12 is a factor of my number. What other factors MUST my number have?
Tutorial 1 Running JADE Under Eclipse Dr. Fuhua Lin School of Computing and Information Systems Athabasca University, Alberta, Canada Oct. 27, 2009.
.…… trust ……?. It’s finally almost here, mis quince años. So many things are going to change. I really hope everything turns out all right. I can already.
Extended Writing 3 Objective: To include speeches into my writing so that it will be more exciting. HD RODRIGUES.
-ed / -ing. -ing / -ed adjectives -ed / -ing adjectives interested or interesting? EXCITED / EXCITING INTERESTED / INTERESTING BORED / BORING SURPRISED.
COMMUNICATION SUCCESS IS MEASURED BY THE WAY THAT WE COMMUNICATE INTERNALLY AND EXTERNALLY.
On-line Safety and Student . I understand there are certain rules I need to follow when I am online.
By Brian Moreland. This tutorial begins after you have completed your word document.
Tutorial 2 Agent Actions Specification --- Behavior Dr. Fuhua Lin School of Computing and Information Systems Athabasca University, Alberta, Canada Oct.
THE INTERVIEW. A lot of people from Pasvalys and district emigrate to England in search of a better life. It is weird, but in Pasvalys there is an Immigrant.
Tutorial 5 Object to Agent Communication Fuhua Lin, PhD, Professor, School of Computing and Information Systems Athabasca University, Alberta, Canada Nov.
Unit 11 Sad movies make me cry. Grace 蒋
“ I could tell she wanted it. The body language was there. I didn’t have to ask!” “I asked him how far he wanted to go, and together we agreed not to.
Tutorial 4 Using JADE from External Java Applications Fuhua Lin, PhD, Professor, School of Computing and Information Systems Athabasca University, Alberta,
Don’t Pass Notes By: Kathleen Beyer I want everyone to pay special attention to me today We are going to learn about an exciting program called PowerPoint.
Speak English in 6 days Day one. Remember the following S.1: Would you like to talk a little? S.2: Oh, yes. It’s a pleasure. What would you like to talk.
SMS Text Messaging Onsite CRM
L.O: To understand how to use the Internet and ICT equipment safely.
Once upon a time there was a child ready to be born.
A Presentation By: Mike Sharobim Pictures By: Unknown source
Online Matching System
Non-Voice Training Certification Program for Facebook
I’m writing in first person. I’m going to tell you my story
Bullying and Peer Pressure
Written by: Kwame Alexander Presentation by: Wyatt Bradley
Communication.
The Communication Process
Communication in Multi-Agent Systems (MAS)
Object Oriented Analysis and Design
Tutorial 6 Directory Facilitator
BRAIN PART status update
Somewhere out there I will find my future. I will find my way.
Once upon a time there was a child ready to be born.
Once upon a time there was
A Presentation By: Mike Sharobim Pictures By: Unknown source
Communications.
Critically Looking at Media
Hofstede’s six dimensions
ETIQUETTE.
“Let’s Talk” Lesson 10.
Communicating With Respect
A Presentation By: Mike Sharobim Pictures By: Unknown source
MOTHER DAY.
Moral Compass Questions Rights and Responsibilities
Speaking Verbal Communication.
A Presentation By: Mike Sharobim Pictures By: Unknown source
A Presentation By: Mike Sharobim Pictures By: Unknown source
Asking for and giving opinions
A Presentation By: Mike Sharobim Pictures By: Unknown source
A Presentation By: Mike Sharobim Pictures By: Unknown source
Created by Sonia Solomon 2007
Created by Sonia Solomon 2007
Created by Sonia Solomon 2007
My School is Moving.
Created by Sonia Solomon 2007
My School is Moving.
WELCOME TO FASTalk! NOTE: Speaker notes are included with suggestions.
WELCOME TO FASTalk! NOTE: Speaker notes are included with suggestions.
Presentation transcript:

Tutorial 3 ACL: Agent Communication Language Dr. Fuhua Lin School of Computing and Information Systems Athabasca University, Alberta, Canada Oct. 27, 2009

Initiate a conversation using SimpleAchieveREInitiator public class SimpleRequestInitiator extends Agent {    static class MarriageProposer extends SimpleAchieveREInitiator { protected MarriageProposer(Agent agent, ACLMessage msg) {            super(agent, msg);        } … … 2. Message Sending In the parent class 1. Message construction } Reference: http://jade.tilab.com/doc/programmersguide.pdf

Using Standard Handlers as methods of MarriageProposer protected void handleAgree(ACLMessage msg) {            System.out.println(myAgent.getLocalName() + ": Ha Ha! " +            msg.getSender().getLocalName() +” has already agreed to marry me. I'm so excited!");  }         protected void handleRefuse(ACLMessage msg) {            System.out.println(myAgent.getLocalName() + ": Oh no! " +            msg.getSender().getLocalName() +rejected me. I feel sad.");   } protected void handleInform(ACLMessage msg) {            System.out.println(myAgent.getLocalName() + ":" +            msg.getSender().getLocalName() +" has informed me of the status of my request." +            " They said : " + msg.getContent());        }        protected void handleNotUnderstood(ACLMessage msg){            System.out.println(myAgent.getLocalName() + ":"                + msg.getSender().getLocalName() +                " has indicated that they didn't understand.");        }        protected void handleOutOfSequence(ACLMessage msg) {            System.out.println(myAgent.getLocalName() + ":"                 + msg.getSender().getLocalName() +  "has sent me a message which I wasn't" +                " expecting in this conversation"); }

SimpleRequestResponder