MacroSwarm: A scala framework for swarm programming

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 appli...

Full description

Saved in:
Bibliographic Details
Published in:Science of computer programming Vol. 239; p. 103182
Main Authors: Aguzzi, Gianluca, Viroli, Mirko
Format: Journal Article
Language:English
Published: Elsevier B.V 01.01.2025
Subjects:
ISSN:0167-6423
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary: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.
ISSN:0167-6423
DOI:10.1016/j.scico.2024.103182