Programming Distributed Collective Processes in the eXchange Calculus
Audrito, Giorgio, Casadei, Roberto, Damiani, Ferruccio, Torta, Gianluca, Viroli, Mirko
–arXiv.org Artificial Intelligence
Recent trends like the Internet of Things (IoT) suggest a vision of dense and multi-scale deployments of computing devices in nearly all kinds of environments. A prominent engineering challenge revolves around programming the collective adaptive behaviour of such computational ecosystems. This requires abstractions able to capture concepts like ensembles (dynamic groups of cooperating devices) and collective tasks (joint activities carried out by ensembles). In this work, we consider collections of devices interacting with neighbours and that execute in nearly-synchronised sense-compute-interact rounds, where the computation is given by a single program mapping sensing values and incoming messages to output and outcoming messages. To support programming whole computational collectives, we propose the abstraction of a distributed collective process, which can be used to define at once the ensemble formation logic and its collective task. We formalise the abstraction in the eXchange Calculus (XC), a core functional language based on neighbouring values (maps from neighbours to values) where state and interaction is handled through a single primitive, exchange, and provide a corresponding implementation in the FCPP language. Then, we exercise distributed collective processes using two case studies: multi-hop message propagation and distributed monitoring of spatial properties. Finally, we discuss the features of the abstraction and its suitability for different kinds of distributed computing applications.
arXiv.org Artificial Intelligence
Jan-20-2024
- Country:
- North America
- United States
- District of Columbia > Washington (0.04)
- Ohio > Franklin County
- Columbus (0.04)
- Massachusetts
- Suffolk County > Boston (0.04)
- Middlesex County > Cambridge (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Florida > Orange County
- Orlando (0.04)
- California > San Francisco County
- San Francisco (0.28)
- Arizona > Maricopa County
- Scottsdale (0.04)
- Canada > British Columbia
- Vancouver Island > Capital Regional District > Victoria (0.04)
- United States
- Europe
- Germany > Berlin (0.04)
- Greece (0.04)
- Czechia > Prague (0.04)
- Spain > Galicia
- Madrid (0.04)
- Middle East > Malta
- Port Region > Southern Harbour District > Valletta (0.04)
- Denmark > Capital Region
- Kongens Lyngby (0.14)
- Portugal > Lisbon
- Lisbon (0.04)
- Italy
- Abruzzo (0.04)
- Piedmont > Turin Province
- Turin (0.04)
- Emilia-Romagna > Metropolitan City of Bologna
- Bologna (0.04)
- France > Île-de-France
- Asia > Japan
- Honshū > Kansai > Kyoto Prefecture > Kyoto (0.04)
- North America
- Genre:
- Research Report (0.50)
- Industry:
- Technology:
- Information Technology
- Software > Programming Languages (1.00)
- Internet of Things (1.00)
- Communications > Networks (0.88)
- Artificial Intelligence
- Robots (1.00)
- Representation & Reasoning > Agents (1.00)
- Machine Learning (1.00)
- Information Technology