-
Notifications
You must be signed in to change notification settings - Fork 20
BuiltInFIPA
Extension: gama.extension.fipa
The FIPA skill offers primitives and built-in variables which enable agents to communicate with each other using the FIPA (Foundation of Intelligent Physical Agents) interaction protocol.
To use this skill, declare it in the species definition:
species my_species skills: [fipa] {
...
}
| Variable | Type | Description |
|---|---|---|
conversations |
list |
A list containing the current conversations of the agent (ended conversations are automatically removed) |
accept_proposals |
list<modelable> |
List of 'accept_proposal' performative messages in the agent's mailbox |
agrees |
list<modelable> |
List of 'agree' performative messages |
cancels |
list<modelable> |
List of 'cancel' performative messages |
cfps |
list<modelable> |
List of 'cfp' (call for proposal) performative messages |
failures |
list<modelable> |
List of 'failure' performative messages |
informs |
list<modelable> |
List of 'inform' performative messages |
proposes |
list<modelable> |
List of 'propose' performative messages |
queries |
list<modelable> |
List of 'query' performative messages |
refuses |
list<modelable> |
List of 'refuse' performative messages |
reject_proposals |
list<modelable> |
List of 'reject_proposal' performative messages |
requests |
list<modelable> |
List of 'request' performative messages |
requestWhens |
list<modelable> |
List of 'request-when' performative messages |
subscribes |
list<modelable> |
List of 'subscribe' performative messages |
Send a call for proposal to a list of agents.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Send a request to another agent.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Send a request-when to another agent.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Subscribe to receive messages of a given type.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Inform another agent about something.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Query another agent for information.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
protocol |
string |
A string representing the name of the interaction protocol (default: "no_protocol") |
Reply to a message. This action should only be 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 as the performative. For example, to reply with a 'request' performative, use request.
| Facet | Type | Description |
|---|---|---|
message |
modelable |
The message to be replied (required, no facet name) |
performative |
string |
The performative of the replying message (required, no facet name) |
content |
list<any> |
The content of the replying message (optional) |
Starts a conversation/interaction protocol.
| Facet | Type | Description |
|---|---|---|
to |
list<modelable> |
A list of receiver agents |
content |
list<any> |
The content of the message (required, no facet name) |
performative |
string |
A string representing the message performative |
protocol |
string |
A string representing the name of the interaction protocol |
Ends an existing conversation.
| Facet | Type | Description |
|---|---|---|
conversation_id |
string |
The ID of the conversation to end (required, no facet name) |
| Deprecated | Replacement |
|---|---|
send |
Use start_conversation instead |
- 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
- Classes and Objects
- Exploring Models
- Optimizing Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning OSM Data
- Diffusion
- Using Database
- Using Dataframes
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- 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
- Stats Extension
- Sound Extension
- BDI Extension
- FIPA Skill
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the development version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation
- Predator Prey
- Road Traffic
- Incremental Model
- Luneray's flu
- BDI Agents
- Forager RL
- SIR Analysis
- 3D Model