Cargando…
Modularization in Belief-Desire-Intention agent programming and artifact-based environments
This article proposes an extension for the Agents and Artifacts meta-model to enable modularization. We adopt the Belief-Desire-Intention (BDI) model of agency to represent independent and reusable units of code by means of modules. The key idea behind our proposal is to take advantage of the syntac...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9748826/ https://www.ncbi.nlm.nih.gov/pubmed/36532814 http://dx.doi.org/10.7717/peerj-cs.1162 |
_version_ | 1784849910759161856 |
---|---|
author | Ortiz-Hernández, Gustavo Guerra-Hernández, Alejandro Hübner, Jomi F. Luna-Ramírez, Wulfrano Arturo |
author_facet | Ortiz-Hernández, Gustavo Guerra-Hernández, Alejandro Hübner, Jomi F. Luna-Ramírez, Wulfrano Arturo |
author_sort | Ortiz-Hernández, Gustavo |
collection | PubMed |
description | This article proposes an extension for the Agents and Artifacts meta-model to enable modularization. We adopt the Belief-Desire-Intention (BDI) model of agency to represent independent and reusable units of code by means of modules. The key idea behind our proposal is to take advantage of the syntactic notion of namespace, i.e., a unique symbol identifier to organize a set of programming elements. On this basis, agents can decide in BDI terms which beliefs, goals, events, percepts and actions will be independently handled by a particular module. The practical feasibility of this approach is demonstrated by developing an auction scenario, where source code enhances scores of coupling, cohesion and complexity metrics, when compared against a non-modular version of the scenario. Our solution allows to address the name-collision issue, provides a use interface for modules that follows the information hiding principle, and promotes software engineering principles related to modularization such as reusability, extensibility and maintainability. Differently from others, our solution allows to encapsulate environment components into modules as it remains independent from a particular BDI agent-oriented programming language. |
format | Online Article Text |
id | pubmed-9748826 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-97488262022-12-15 Modularization in Belief-Desire-Intention agent programming and artifact-based environments Ortiz-Hernández, Gustavo Guerra-Hernández, Alejandro Hübner, Jomi F. Luna-Ramírez, Wulfrano Arturo PeerJ Comput Sci Agents and Multi-Agent Systems This article proposes an extension for the Agents and Artifacts meta-model to enable modularization. We adopt the Belief-Desire-Intention (BDI) model of agency to represent independent and reusable units of code by means of modules. The key idea behind our proposal is to take advantage of the syntactic notion of namespace, i.e., a unique symbol identifier to organize a set of programming elements. On this basis, agents can decide in BDI terms which beliefs, goals, events, percepts and actions will be independently handled by a particular module. The practical feasibility of this approach is demonstrated by developing an auction scenario, where source code enhances scores of coupling, cohesion and complexity metrics, when compared against a non-modular version of the scenario. Our solution allows to address the name-collision issue, provides a use interface for modules that follows the information hiding principle, and promotes software engineering principles related to modularization such as reusability, extensibility and maintainability. Differently from others, our solution allows to encapsulate environment components into modules as it remains independent from a particular BDI agent-oriented programming language. PeerJ Inc. 2022-12-01 /pmc/articles/PMC9748826/ /pubmed/36532814 http://dx.doi.org/10.7717/peerj-cs.1162 Text en ©2022 Ortiz-Hernández et al. https://creativecommons.org/licenses/by-nc/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by-nc/4.0/) , which permits using, remixing, and building upon the work non-commercially, as long as it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Agents and Multi-Agent Systems Ortiz-Hernández, Gustavo Guerra-Hernández, Alejandro Hübner, Jomi F. Luna-Ramírez, Wulfrano Arturo Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title | Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title_full | Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title_fullStr | Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title_full_unstemmed | Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title_short | Modularization in Belief-Desire-Intention agent programming and artifact-based environments |
title_sort | modularization in belief-desire-intention agent programming and artifact-based environments |
topic | Agents and Multi-Agent Systems |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9748826/ https://www.ncbi.nlm.nih.gov/pubmed/36532814 http://dx.doi.org/10.7717/peerj-cs.1162 |
work_keys_str_mv | AT ortizhernandezgustavo modularizationinbeliefdesireintentionagentprogrammingandartifactbasedenvironments AT guerrahernandezalejandro modularizationinbeliefdesireintentionagentprogrammingandartifactbasedenvironments AT hubnerjomif modularizationinbeliefdesireintentionagentprogrammingandartifactbasedenvironments AT lunaramirezwulfranoarturo modularizationinbeliefdesireintentionagentprogrammingandartifactbasedenvironments |