FSCAFI: A Core Calculus for Collective Adaptive Systems Programming

被引:23
作者
Casadei, Roberto [1 ]
Viroli, Mirko [1 ]
Audrito, Giorgio [2 ]
Damiani, Ferruccio [2 ]
机构
[1] Alma Mater Studiorum Univ Bologna, Cesena, Italy
[2] Univ Torino, Turin, Italy
来源
LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: ENGINEERING PRINCIPLES, ISOLA 2020, PT II | 2020年 / 12477卷
关键词
D O I
10.1007/978-3-030-61470-6_21
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A recently proposed approach to the rigorous engineering of collective adaptive systems is the aggregate computing paradigm, which operationalises the idea of expressing collective adaptive behaviour by a global perspective as a functional composition of dynamic computational fields (i.e., structures mapping a collection of individual devices of a collective to computational values over time). In this paper, we present FSCAFI, a core language that captures the essence of exploiting field computations in mainstream functional languages, and which is based on a semantic model for field computations leveraging the novel notion of "computation against a neighbour". Such a construct models expressions whose evaluation depends on the same evaluation that occurred on a neighbour, thus abstracting communication actions and, crucially, enabling deep and straightforward integration in the Scala programming language, by the SCAFI incarnation. We cover syntax and informal semantics of FScaFi, provide examples of collective adaptive behaviour development in SCAFI, and delineate future work.
引用
收藏
页码:344 / 360
页数:17
相关论文
共 42 条
[1]   A Calculus for Attribute-based Communication [J].
Abd Alrahman, Yehia ;
De Nicola, Rocco ;
Loreti, Michele ;
Tiezzi, Francesco ;
Vigo, Roberto .
30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, :1840-1845
[2]  
Anderson S., 2013, Adaptive col- lective systems: herding black sheep
[3]   A Higher-Order Calculus of Computational Fields [J].
Audrito, Giorgio ;
Viroli, Mirko ;
Damiani, Ferruccio ;
Pianini, Danilo ;
Beal, Jacob .
ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2019, 20 (01)
[4]   Compositional Blocks for Optimal Self-Healing Gradients [J].
Audrito, Giorgio ;
Casadei, Roberto ;
Damiani, Ferruccio ;
Viroli, Mirko .
2017 IEEE 11TH INTERNATIONAL CONFERENCE ON SELF-ADAPTIVE AND SELF-ORGANIZING SYSTEMS (SASO), 2017, :91-100
[5]   Run-time Management of Computation Domains in Field Calculus [J].
Audrito, Giorgio ;
Damiani, Ferruccio ;
Viroli, Mirko ;
Casadei, Roberto .
2016 IEEE 1ST INTERNATIONAL WORKSHOPS ON FOUNDATIONS AND APPLICATIONS OF SELF* SYSTEMS (FAS*W), 2016, :192-197
[6]   Programming distributed and adaptable autonomous componentsthe GCM/ProActive framework [J].
Baude, Francoise ;
Henrio, Ludovic ;
Ruz, Cristian .
SOFTWARE-PRACTICE & EXPERIENCE, 2015, 45 (09) :1189-1227
[7]   Infrastructure for engineered emergence on sensor/actuator networks [J].
Beal, J ;
Bachrach, J .
IEEE INTELLIGENT SYSTEMS, 2006, 21 (02) :10-19
[8]   Self-Adaptation to Device Distribution in the Internet of Things [J].
Beal, Jacob ;
Viroli, Mirko ;
Pianini, Danilo ;
Damiani, Ferruccio .
ACM TRANSACTIONS ON AUTONOMOUS AND ADAPTIVE SYSTEMS, 2017, 12 (03)
[9]   Aggregate Programming for the Internet of Things [J].
Beal, Jacob ;
Pianini, Danilo ;
Viroli, Mirko .
COMPUTER, 2015, 48 (09) :22-30
[10]  
Beal J, 2013, FORMAL AND PRACTICAL ASPECTS OF DOMAIN-SPECIFIC LANGUAGES: RECENT DEVELOPMENTS, P436, DOI 10.4018/978-1-4666-2092-6.ch016