Programming swarm behaviors is a challenging task, due to the need to express collective behaviors in terms of local interactions among simple agents. Even if several programming frameworks have been proposed, they are often based on low-level abstractions, which makes the development of swarm applications complex and error-prone. Thus, we present MacroSwarm, an aggregate programming framework for the development of swarm behaviors. With this framework, it is possible to define a large variety of swarm behaviors, starting from simple movements to more complex ones, such as aggregation, flocking, and collective decision-making. In this paper, we present the main features of the framework and some simple examples of its API usage.

Aguzzi, G., Viroli, M. (2025). MacroSwarm: A scala framework for swarm programming. SCIENCE OF COMPUTER PROGRAMMING, 239, 1-8 [10.1016/j.scico.2024.103182].

MacroSwarm: A scala framework for swarm programming

Aguzzi G.;Viroli M.
2025

Abstract

Programming swarm behaviors is a challenging task, due to the need to express collective behaviors in terms of local interactions among simple agents. Even if several programming frameworks have been proposed, they are often based on low-level abstractions, which makes the development of swarm applications complex and error-prone. Thus, we present MacroSwarm, an aggregate programming framework for the development of swarm behaviors. With this framework, it is possible to define a large variety of swarm behaviors, starting from simple movements to more complex ones, such as aggregation, flocking, and collective decision-making. In this paper, we present the main features of the framework and some simple examples of its API usage.
2025
Aguzzi, G., Viroli, M. (2025). MacroSwarm: A scala framework for swarm programming. SCIENCE OF COMPUTER PROGRAMMING, 239, 1-8 [10.1016/j.scico.2024.103182].
Aguzzi, G.; Viroli, M.
File in questo prodotto:
File Dimensione Formato  
paper-2023-computer-programming-macro-swarm.pdf

embargo fino al 01/08/2025

Tipo: Postprint / Author's Accepted Manuscript (AAM) - versione accettata per la pubblicazione dopo la peer-review
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione - Non commerciale - Non opere derivate (CCBYNCND)
Dimensione 382.8 kB
Formato Adobe PDF
382.8 kB Adobe PDF   Visualizza/Apri   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1009422
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact