-
Notifications
You must be signed in to change notification settings - Fork 99
UsingFIPAACL
The communicating skill offers some actions and built-in variables which enable agents to communicate with each other using the FIPA interaction protocol. This document describes the built-in variables and actions of this skill. Examples are found in the models library bundled with GAMA.
- accept_proposals (list): A list of 'accept_proposal' performative messages of the agent's mailbox having .
- agrees (list): A list of 'accept_proposal' performative messages.
- cancels (list): A list of 'cancel' performative messages.
- cfps (list): A list of 'cfp' (call for proposal) performative messages.
- conversations (list): A list containing the current conversations of agent. Ended conversations are automatically removed from this list.
- failures (list): A list of 'failure' performative messages.
- informs (list): A list of 'inform' performative messages.
- messages (list): The mailbox of the agent, a list of messages of all types of performatives.
- proposes (list): A list of 'propose' performative messages .
- queries (list): A list of 'query' performative messages.
- refuses (list): A list of 'propose' performative messages.
- reject_proposals (list): A list of 'reject_proposals' performative messages.
- requests (list): A list of 'request' performative messages.
- requestWhens (list): A list of 'request-when' performative messages.
- subscribes (list): A list of 'subscribe' performative messages.
Replies a message with an 'accept_proposal' performative message
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with an 'agree' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'cancel' peformative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'cfp' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with an 'end_conversation' peprformative message. This message marks the end of a conversation. In a 'no-protocol' conversation, it is the responsible of the modeler to explicitly send this message to mark the end of a conversation/interaction protocol.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'failure' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with an 'inform' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'propose' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'query' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'refuse' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message with a 'reject_proposal' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Replies a message. This action should be only used to reply a message in a 'no-protocol' conversation and with a 'user defined performative'. For performatives supported by GAMA (i.e., standard FIPA performatives), please use the 'action' with the same name of 'performative'. For example, to reply a message with a 'request' performative message, the modeller should use the 'request' action.
- returns: unknown
- message (message): The message to be replied
- performative (string): The performative of the replying message
- content (list): The content of the replying message
Replies a message with a 'request' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
Starts a conversation/interaction protocol.
- returns: msi.gaml.extensions.fipa.Message
- receivers (list): A list of receiver agents
- content (list): The content of the message. A list of any GAML type
- performative (string): A string, representing the message performative
- protocol (string): A string representing the name of interaction protocol
Starts a conversation/interaction protocol.
- returns: msi.gaml.extensions.fipa.Message
- receivers (list): A list of receiver agents
- content (list): The content of the message. A list of any GAML type
- performative (string): A string, representing the message performative
- protocol (string): A string representing the name of interaction protocol
Replies a message with a 'subscribe' performative message.
- returns: unknown
- message (message): The message to be replied
- content (list): The content of the replying message
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation