Skip to main content

A Template-Based Approach to Code Generation Within an Agent Paradigm

  • Conference paper
  • First Online:

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1472))

Abstract

Today, the paradigm of multi-agent systems has earned a place in the field of software engineering thanks to its versatility to adapt to various domains. However, the construction of these systems is complex, which leads to additional costs in the implementation process. In recent years, however, several frameworks have emerged to simplify this task by providing functionalities that these systems need as a basis, or even tools to generate code related to this paradigm. These tools are based on a single framework, protocol and language, which sets many limits to the code generation capacity of these tools. Therefore, this paper proposes a tool for code generation of complete multi-agent systems, focused on the elimination of the restrictions of programming language, framework, communication protocol, etc. through the use of model-driven and template-driven development.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Pavón, J., Gómez-Sanz, J.J., Fuentes, R.: The ingenias methodology and tools. In: Agent-Oriented Methodologies, pp. 236–276. IGI Global (2005)

    Google Scholar 

  2. Uyanik, B., ŞAHİN, V.H.: A template-based code generator for web applications. Turk. J. Electr. Eng. Comput. Sci. 28(3), 1747–1762 (2020)

    Google Scholar 

  3. Benato, G.S., Affonso, F.J., Nakagawa, E.Y.: Infrastructure based on template engines for automatic generation of source code for self-adaptive software domain. In: SEKE, pp. 30–35 (2017)

    Google Scholar 

  4. Rademacher, F., Sorgalla, J., Wizenty, P., Sachweh, S., Zündorf, A.: Graphical and textual model-driven microservice development. In: Bucchiarone, A., et al. (eds.) Microservices, pp. 147–179. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-31646-4_7

    Chapter  Google Scholar 

  5. Blas, M.J., Gonnet, S.: Computer-aided design for building multipurpose routing processes in discrete event simulation models. Eng. Sci. Technol. Int. J. 24(1), 22–34 (2021)

    Google Scholar 

  6. Waszkowski, R.: Low-code platform for automating business processes in manufacturing. IFAC-PapersOnLine 52(10), 376–381 (2019)

    Article  Google Scholar 

  7. Sunitha, E.V., Samuel, P.: Automatic code generation from UML state chart diagrams. IEEE Access 7, 8591–8608 (2019)

    Article  Google Scholar 

  8. Jörges, S.: Construction and Evolution of Code Generators: A Model-Driven and Service-Oriented Approach. LNCS, vol. 7747. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-36127-2

    Book  Google Scholar 

  9. Zatout, S., Boufaida, M., Benabdelhafid, M.S., Berkane, M.L.: A model-driven approach for the verification of an adaptive service composition. Int. J. Web Eng. Technol. 15(1), 4–31 (2020)

    Article  Google Scholar 

  10. Ferber, J., Gutknecht, O.: A meta-model for the analysis and design of organizations in multi-agent systems. In: Proceedings International Conference on Multi Agent Systems (Cat. No. 98EX160), pp. 128–135. IEEE (1998)

    Google Scholar 

  11. Zambonelli, F., Omicini, A.: Challenges and research directions in agent-oriented software engineering. Auton. Agent. Multi-Agent Syst. 9(3), 253–283 (2004)

    Article  Google Scholar 

  12. Jazayeri, A., Bass, E.J.: Agent-oriented methodologies evaluation frameworks: a review. Int. J. Softw. Eng. Knowl. Eng. 30(09), 1337–1370 (2020)

    Article  Google Scholar 

  13. Garcia-Magarino, I.: Towards the integration of the agent-oriented modeling diversity with a powertype-based language. Comput. Stand. Interfaces 36(6), 941–952 (2014)

    Article  Google Scholar 

  14. Bauer, B., Müller, J.P., Odell, J.: Agent UML: a formalism for specifying multiagent software systems. In: Ciancarini, P., Wooldridge, M.J. (eds.) AOSE 2000. LNCS, vol. 1957, pp. 91–103. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44564-1_6

    Chapter  Google Scholar 

  15. Ivanova, T., Batchkova, I.: Approach for model driven development of multi-agent systems for ambient intelligence. In: Artificial Intelligence in Industry 4.0: A Collection of Innovative Research Case-studies that are Reworking the Way We Look at Industry 4.0 Thanks to Artificial Intelligence, pp. 183–198 (2021)

    Google Scholar 

  16. Keogh, K., Sonenberg, L.: Designing multi-agent system organisations for flexible runtime behaviour. Appl. Sci. 10(15), 5335 (2020)

    Article  Google Scholar 

  17. Gomez-Sanz, J.J., Fuentes, R., Pavón, J., García-Magariño, I.: Ingenias development kit: a visual multi-agent system development environment. In: Proceedings of the 7th International Joint Conference on Autonomous Agents and Multiagent Systems: Demo Papers, pp. 1675–1676 (2008)

    Google Scholar 

  18. González-Briones, A., Prieto, J., De La Prieta, F., Herrera-Viedma, E., Corchado, J.M.: Energy optimization using a case-based reasoning strategy. Sensors 18(3), 865 (2018)

    Article  Google Scholar 

  19. Briones, A.G., Rodrıguez, J.M.C., Omatu, S.: A multi-agent architecture for optimizing energy consumption using comfort agreements. Ph.D. thesis, Universidad de Salamanca (2018)

    Google Scholar 

Download references

Acknowledgment

This research has been supported by the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871177.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francisco Pinto-Santos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pinto-Santos, F., Alizadeh-Sani, Z., Alonso-Moro, D., González-Briones, A., Chamoso, P., Corchado, J.M. (2021). A Template-Based Approach to Code Generation Within an Agent Paradigm. In: De La Prieta, F., El Bolock, A., Durães, D., Carneiro, J., Lopes, F., Julian, V. (eds) Highlights in Practical Applications of Agents, Multi-Agent Systems, and Social Good. The PAAMS Collection. PAAMS 2021. Communications in Computer and Information Science, vol 1472. Springer, Cham. https://doi.org/10.1007/978-3-030-85710-3_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85710-3_25

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85709-7

  • Online ISBN: 978-3-030-85710-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics