<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Robot. AI</journal-id>
<journal-title>Frontiers in Robotics and AI</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Robot. AI</abbrev-journal-title>
<issn pub-type="epub">2296-9144</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/frobt.2020.00086</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Adaptive Foraging in Dynamic Environments Using Scale-Free Interaction Networks</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Rausch</surname> <given-names>Ilja</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/691539/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Simoens</surname> <given-names>Pieter</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/564537/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Khaluf</surname> <given-names>Yara</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/314837/overview"/>
</contrib>
</contrib-group>
<aff><institution>IDLab - Department of Information Technology, Ghent University&#x02014;IMEC</institution>, <addr-line>Ghent</addr-line>, <country>Belgium</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Nicolas Bredeche, Universit&#x000E9; Pierre et Marie Curie, France</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Alan Gregory Millard, University of Lincoln, United Kingdom; Amine Boumaza, UMR7503 Laboratoire Lorrain de Recherche en Informatique et ses Applications (LORIA), France; Payam Zahadat, University of Graz, Austria</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Ilja Rausch  <email>Ilja.Rausch&#x00040;UGent.be</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Multi-Robot Systems, a section of the journal Frontiers in Robotics and AI</p></fn></author-notes>
<pub-date pub-type="epub">
<day>09</day>
<month>07</month>
<year>2020</year>
</pub-date>
<pub-date pub-type="collection">
<year>2020</year>
</pub-date>
<volume>7</volume>
<elocation-id>86</elocation-id>
<history>
<date date-type="received">
<day>22</day>
<month>12</month>
<year>2019</year>
</date>
<date date-type="accepted">
<day>02</day>
<month>06</month>
<year>2020</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2020 Rausch, Simoens and Khaluf.</copyright-statement>
<copyright-year>2020</copyright-year>
<copyright-holder>Rausch, Simoens and Khaluf</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract><p>Group interactions are widely observed in nature to optimize a set of critical collective behaviors, most notably sensing and decision making in uncertain environments. Nevertheless, these interactions are commonly modeled using local (proximity) networks, in which individuals interact within a certain spatial range. Recently, other interaction topologies have been revealed to support the emergence of higher levels of scalability and rapid information exchange. One prominent example is scale-free networks. In this study, we aim to examine the impact of scale-free communication when implemented for a swarm foraging task in dynamic environments. We model dynamic (uncertain) environments in terms of changes in food density and analyze the collective response of a simulated swarm with communication topology given by either proximity or scale-free networks. Our results suggest that scale-free networks accelerate the process of building up a rapid collective response to cope with the environment changes. However, this comes at the cost of lower coherence of the collective decision. Moreover, our findings suggest that the use of scale-free networks can improve swarm performance due to two side-effects introduced by using long-range interactions and frequent network regeneration. The former is a topological consequence, while the latter is a necessity due to robot motion. These two effects lead to reduced spatial correlations of a robot&#x00027;s behavior with its neighborhood and to an enhanced opinion mixing, i.e., more diversified information sampling. These insights were obtained by comparing the swarm performance in presence of scale-free networks to scenarios with alternative network topologies, and proximity networks with and without packet loss.</p></abstract>
<kwd-group>
<kwd>swarm robotics</kwd>
<kwd>foraging</kwd>
<kwd>collective decision-making</kwd>
<kwd>scale-free networks</kwd>
<kwd>dynamic environments</kwd>
<kwd>adaptive swarm</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="2"/>
<equation-count count="5"/>
<ref-count count="41"/>
<page-count count="14"/>
<word-count count="10182"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>The efficiency of the information sharing mechanisms used by individuals during group decision processes determines to a large extent the fitness of the group decision. In nature, collective systems consist of a high number of individuals living in large and unknown environments, and needing to perform complex tasks to survive. Among the many examples of collective decision-making is choosing a new site to build their home (Richardson et al., <xref ref-type="bibr" rid="B36">2018</xref>), or deciding among a number of foraging patches (Michelena et al., <xref ref-type="bibr" rid="B27">2009</xref>). Despite the high diversity of tasks, uncertainty and complexity are common features. Hence, individuals apply information pooling to mitigate uncertainty and increase decision accuracy (Conradt, <xref ref-type="bibr" rid="B11">2011</xref>). Achieving efficient opinion sampling depends to a large extent on the network topology that defines the interaction structure and opinion sharing of these individuals (Khaluf et al., <xref ref-type="bibr" rid="B20">2018</xref>; Rausch et al., <xref ref-type="bibr" rid="B33">2019b</xref>). The use of such network is fundamental for collective decision-making. It is generally exploited at two stages of the process (i) when spreading information on one or multiple stimuli that are initially perceived by a limited number of individuals that are able to trigger the collective decision process&#x02014;e.g., a predator attack&#x02014;; and (ii) when spreading the individuals&#x00027; opinions or choices to achieve consensus (Khaluf et al., <xref ref-type="bibr" rid="B21">2019a</xref>).</p>
<p>In artificial systems such as swarm robotics, collective decision-making is mostly designed in static environments (Bay&#x00131;nd&#x00131;r, <xref ref-type="bibr" rid="B4">2016</xref>), where options and their qualities are defined at the beginning and do not change over time. In these studies the focus is mainly on the design of efficient voting mechanisms that enable a high level of decision coherence within the shortest time possible (Khaluf et al., <xref ref-type="bibr" rid="B20">2018</xref>). Alternatively, other studies were addressing the design of decision strategies that tackle the accuracy vs. speed trade-off (Valentini, <xref ref-type="bibr" rid="B40">2017</xref>)&#x02014;i.e., taking longer time to gather enough information and making more accurate decisions vs. exploiting the available information and taking the decision as soon as possible. In both cases, the speed of converging on a decision is a fundamental goal in the design of decision-making. The decision speed strongly depends on the interaction topology the individuals are part of, to spread stimuli or opinions during the decision-making process. Interactions in collective systems are frequently modeled using local (i.e., proximity) communication, where the neighborhood of an individual is defined spatially based on their interaction range, i.e., interacting with all peers within the individual&#x00027;s communication radius. Nevertheless, other interaction models such as scale-free networks were revealed in several real-world examples (Albert and Barab&#x000E1;si, <xref ref-type="bibr" rid="B1">2002</xref>; Holme, <xref ref-type="bibr" rid="B14">2019</xref>). A comprehensive review on scale-free phenomena in a more general context can be found in Khaluf et al. (<xref ref-type="bibr" rid="B18">2017a</xref>). In various works, scale-free networks enable scalable, fast and efficient information transfer. For example, in Goh et al. (<xref ref-type="bibr" rid="B12">2001</xref>), authors showed how the betweenness centrality scales with the scale-free exponent. Other works showed how the ultrasmall diameter of the scale-free networks contributes to their efficiency in information transmission (Cohen and Havlin, <xref ref-type="bibr" rid="B10">2003</xref>; Thivierge, <xref ref-type="bibr" rid="B39">2014</xref>). Finally, scale-free topologies were studied in natural collective systems such as in Cavagna et al. (<xref ref-type="bibr" rid="B8">2010</xref>). In this work, the authors studied starlings flocks and suggest that collective response to predator&#x00027;s attacks may be achieved through scale-free behavioral correlations. Based on these studies, we extend the application of scale-free networks to artificial swarms in order to investigate the role these networks can play in improving a swarm&#x00027;s collective decision-making process.</p>
<p>A key aspect of scale-free networks is the presence of hubs&#x02014;i.e., nodes with a comparably high connectivity degree&#x02014;(Albert et al., <xref ref-type="bibr" rid="B2">2000</xref>; Albert and Barab&#x000E1;si, <xref ref-type="bibr" rid="B1">2002</xref>). Hubs represent a small percentage of the network nodes, however, their high connectivity leads to a small network diameter. This facilitates efficient communication by enabling any two random nodes to share information over only few hops, resulting in fast information transfer (Cohen and Havlin, <xref ref-type="bibr" rid="B10">2003</xref>). In this paper, we exploit this critical feature of scale-free networks to help collective systems to faster respond to changes in dynamic environments. In dynamic environments, conditions change over time and hence, the collective system needs to adapt its behavior within a short period of time in order to survive. We refer to this as the collective response time. In our study, this is the time required for the group to collectively change the intensity of its foraging activities as a response to a change in the availability of the food items.</p>
<p>Among many examples of collective tasks in natural systems, we select <italic>foraging</italic> (Liu et al., <xref ref-type="bibr" rid="B26">2007</xref>) and perform our study using a simulated population of swarming robots. Foraging is a complex task used by many species to retrieve food to their homes, but beyond that it is a metaphor for many real-world robotics tasks such as search and rescue, retrieve materials for collective construction and others. In foraging, individuals (robots) need to continuously make a decision between staying at their base or leaving to forage for food items. A large body of literature has been dedicated to investigate foraging in artificial systems such as swarm robotics. These studies have addressed various research questions such as the foraging performance under the influence of physical robot interference (Lerman and Galstyan, <xref ref-type="bibr" rid="B23">2002</xref>; Khaluf et al., <xref ref-type="bibr" rid="B16">2016</xref>), the multi-foraging task (Campo and Dorigo, <xref ref-type="bibr" rid="B7">2007</xref>)&#x02014;i.e., the foraging for different types of items&#x02014;or consensus achievement (Hoff et al., <xref ref-type="bibr" rid="B13">2013</xref>; Khaluf et al., <xref ref-type="bibr" rid="B19">2017b</xref>). Additionally, some studies have focused on how to optimize the task allocation in foraging using cost functions (Pini et al., <xref ref-type="bibr" rid="B29">2013</xref>; Khaluf et al., <xref ref-type="bibr" rid="B22">2019b</xref>). Also how to investigate simple probabilistic models that rely on the foraging success probability in achieving an efficient foraging behavior (Pinciroli et al., <xref ref-type="bibr" rid="B28">2012</xref>). Other studies have gone further to investigate whether the performance of swarms in the foraging tasks bears a particular characteristic distribution (e.g., a power law) for any of its time or space features (Khaluf and Dorigo, <xref ref-type="bibr" rid="B17">2016</xref>; Rausch et al., <xref ref-type="bibr" rid="B32">2019a</xref>). Despite this intensive research effort, foraging of robot swarms in dynamic environments and the influence of different interaction models are still not well understood. However, these questions are paramount, given the prevalence of scale-free phenomena in real-world systems and admitting that most real environments are dynamic. Therefore, in this paper, we focus on the fundamental question of how the integration of a scale-free interaction structure may influence the collective response of simulated swarms to changes in food density within the foraging environment. We approach this question by analyzing the speed and coherence of the collective response to those changes. We begin with defining the robot (microscopic) and the swarm (macroscopic) behaviors in sections 2.1, 2.3, respectively. The details on generating scale-free networks from local neighborhoods are given in section 2.2. In section 2.4, we describe the experimental setup. Thereafter, in section 3 we compare the collective response of the swarm in presence and absence of scale-free interactions. We discuss our findings that suggest that the use of scale-free interactions can be advantageous due to (i) reduced correlations between a robot&#x00027;s decisions and those of its spatial neighbors and (ii) enhanced information spread through long-range interactions and frequent rewiring of communication links. These insights are obtained by comparing the influence of scale-free networks to scenarios with alternative random networks as well as scenarios that include packet loss. Conclusions are drawn in section 4.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2. Methods</title>
<sec>
<title>2.1. Robot Behavior</title>
<p>Robots are placed in an arena that is divided into two areas: the nest and the foraging environment. Inspired by the behavior observed in harvester ants <italic>Pogonomyrmex barbatus</italic> (Schafer et al., <xref ref-type="bibr" rid="B37">2006</xref>; Pinter-Wollman et al., <xref ref-type="bibr" rid="B30">2013</xref>), each robot can switch between two essential states: <italic>resting</italic> and <italic>foraging</italic>. In the foraging state, the robot attempts to find a food item inside the foraging environment by performing a pseudo-random walk. In particular, the robot moves on a straight line until it encounters another robot or an obstacle (e.g., a wall), in which case a <italic>collision avoidance</italic> maneuver is initiated. By executing this maneuver, the robot attempts to move in the direction of least physical interference, as sensed by its proximity sensors. After executing the collision avoidance maneuver, the robot goes back to its standard motion following a straight line. When the robot encounters a food item, it collects this item and retrieves it back to the nest where the robot rests for a given period of time &#x003B8;<sub><italic>r</italic></sub>.</p>
<p>In the resting state, the robot remains inside the nest, which is the only area where communication with other robots can take place. This is inspired by several natural systems, in which the communication occurs mainly inside the nest or the hive (Liu et al., <xref ref-type="bibr" rid="B26">2007</xref>; Seeley et al., <xref ref-type="bibr" rid="B38">2012</xref>; Reina et al., <xref ref-type="bibr" rid="B35">2015</xref>; Valentini et al., <xref ref-type="bibr" rid="B41">2016</xref>). This approach accommodates two relevant properties of foraging systems: (i) it is common that the foraging environment is significantly larger than the nest area, and hence, individual encountering rates outside the nest are negligibly low. (ii) Due to the high density of individuals inside the nest there is a high likelihood of interaction between individuals that have explored different parts of the foraging environment, and hence a more diversified sample of information about the environment can be collected.</p>
<p>Robots can communicate only with neighbors that are within a direct line of sight, sharing their individual experiences. This is a continuous process&#x02014;i.e., each robot broadcasts at every time step its previous experience (success or failure in finding a food item) until it switches again to the foraging state. Continuous communication activity is a required choice of the experiment design to research the role of network topology in the emergent behavior (Rausch et al., <xref ref-type="bibr" rid="B32">2019a</xref>).</p>
<p>All robots, in our study, are identical and each robot is a probabilistic finite state machine. In particular, a robot&#x00027;s behavior is shaped by two switching probabilities that describe at every time step the robot&#x00027;s likelihood to switch from foraging to resting (<italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub>) or the opposite (<italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub>). These probabilities are updated differently at the robot&#x00027;s resting and foraging states. At the foraging state, the switching probabilities are updated using the robot&#x00027;s foraging experience. The impact of this experience on the robot&#x00027;s decision-making is given by the set of two individual cues <inline-formula><mml:math id="M1"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msubsup><mml:mo>&#x000D7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula>. More specifically, the cue <italic>i</italic><sub><italic>f</italic></sub> defines a numerical value by which the probability to switch from resting to foraging (<italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub>) is increased when the robot has experienced foraging success&#x02014;i.e., a discovered food item during the latest foraging attempt. The same value is used to decrease this switching probability in case of a failed foraging attempt, i.e., when the robot has spent a specific time (&#x003B8;<sub><italic>f</italic></sub>) foraging without finding a food item. The cue <italic>i</italic><sub><italic>r</italic></sub> updates the robot&#x00027;s switching probability from foraging to resting (<italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub>) in a manner that is inverse to <italic>i</italic><sub><italic>f</italic></sub>. Besides updating the switching probabilities at the foraging state, the robot updates those while resting. This update is performed using the experience received from the robot&#x00027;s neighbors and is numerically given by two social cues <inline-formula><mml:math id="M2"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msubsup><mml:mo>&#x000D7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula>. The social cue <italic>s</italic><sub><italic>f</italic></sub> is used to update the switching probability from resting to foraging (i.e., <italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub>) by increasing (decreasing) <italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub> when the robot&#x00027;s neighbors report primarily on successful (failed) foraging attempts. Whereas, <italic>s</italic><sub><italic>r</italic></sub> is used to update the switching probability from foraging to resting (i.e., <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub>), inversely to <italic>s</italic><sub><italic>f</italic></sub>. In the following we define how the switching probabilities are updated at every simulation step (as described in Rausch et al., <xref ref-type="bibr" rid="B32">2019a</xref>; to prevent divergence, both probabilities were truncated between zero and one):</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M3"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>&#x02192;</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>&#x02192;</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B7;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E2"><label>(2)</label><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02192;</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02192;</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B7;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003B4;<sub>&#x003B7;</sub>(<italic>t</italic>) is the difference between the successful and the failed foraging attempts communicated to the robot by its neighbors. Hence, it has a positive sign when there are more successful attempts than failed ones and a negative sign otherwise. Consequently, the former increases the switching probability from resting to foraging and the latter increases the switching probability from foraging to resting. &#x003B4;<sub>&#x003B7;</sub>(<italic>t</italic>) &#x0003D; 0 if the robot is not resting. Additionally, the robot&#x00027;s individual experience during a foraging attempt that starts at <italic>t</italic><sub><italic>f</italic></sub> is defined as follows:</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="true">{</mml:mo><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none" equalcolumns="false" class="array"><mml:mtr><mml:mtd columnalign="left"><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd columnalign="left"><mml:mtext class="textrm" mathvariant="normal">at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd columnalign="left"><mml:mtext class="textrm" mathvariant="normal">if&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003C;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00026;</mml:mo><mml:mtext class="textrm" mathvariant="normal">no&#x000A0;item&#x000A0;is&#x000A0;found&#x000A0;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd columnalign="left"><mml:mtext class="textrm" mathvariant="normal">if&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00026;</mml:mo><mml:mtext class="textrm" mathvariant="normal">the&#x000A0;robot&#x000A0;is&#x000A0;still&#x000A0;foraging&#x000A0;</mml:mtext></mml:mtd></mml:mtr><mml:mtr></mml:mtr></mml:mtable></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>t</italic><sub><italic>if</italic></sub> is the (unique) time step at which the robot finds an item while in foraging state. While in the foraging state, the robot may find an item at any time <italic>t</italic><sub><italic>f</italic></sub> &#x0003C; <italic>t</italic><sub><italic>if</italic></sub> (i.e., it could also happen that <italic>t</italic><sub><italic>f</italic></sub> &#x0002B; &#x003B8;<sub><italic>f</italic></sub> &#x0003C; <italic>t</italic><sub><italic>if</italic></sub>). After finding an item, i.e., subsequently to <italic>t</italic><sub><italic>if</italic></sub>, the robot leaves the foraging state. If no item is found and the foraging time crosses the threshold &#x003B8;<sub><italic>f</italic></sub>, then &#x003B4;<sub>&#x003D5;</sub>(<italic>t</italic>) &#x0003D; &#x02212; 1. This increases <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub>(<italic>t</italic>) at every time step <italic>t</italic> &#x0003E; <italic>t</italic><sub><italic>f</italic></sub> &#x0002B; &#x003B8;<sub><italic>f</italic></sub>, guaranteeing that the robot will probabilistically leave the foraging state at some <italic>t</italic>, even without finding an item. &#x003B4;<sub>&#x003D5;</sub>(<italic>t</italic>) &#x0003D; 0 outside of the foraging state.</p>
<p>The robot behavior is illustrated in <xref ref-type="fig" rid="F1">Figure 1</xref> using a state diagram. It includes the following states: (i) foraging: after having spent at least &#x003B8;<sub><italic>r</italic></sub> time steps resting, the robot switches with probability <italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub> from resting to foraging. It attempts to search the foraging area for a food item to retrieve to the nest. If the robot fails to find a food item within a predefined time &#x003B8;<sub><italic>f</italic></sub>, it switches with probability <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub> to homing; (ii) homing: in this transitional state the robot returns to the nest, with &#x003B4;<sub>&#x003B7;</sub>(<italic>t</italic>) &#x0003D; 0 and &#x003B4;<sub>&#x003D5;</sub>(<italic>t</italic>) &#x0003D; 0; as soon as the robot reaches nest, it switches to distancing; (iii) distancing: having returned to the nest, the robot searches for an empty spot in the nest where it can rest; similar to the homing state, distancing is a transitional state with &#x003B4;<sub>&#x003B7;</sub>(<italic>t</italic>) &#x0003D; 0 and &#x003B4;<sub>&#x003D5;</sub>(<italic>t</italic>) &#x0003D; 0; distancing terminates after &#x003B8;<sub><italic>d</italic></sub> time steps and the robot switches to resting; (iv) resting: subsequent to distancing the robot rests for at least &#x003B8;<sub><italic>r</italic></sub> time steps after which it switches with probability <italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub> to foraging. A resting robot broadcasts &#x0201C;success&#x0201D; (or &#x0201C;failure&#x0201D;) to its neighbors if the latest foraging attempt was successful (or not), respectively. If the robot failed to leave the nest in state (i), it has no information about the foraging environment and, thus, does not broadcast any message. Throughout the entire experiment, the robot performs collision avoidance maneuvers if other robots or walls enter its proximity sensors&#x00027; range (not shown in <xref ref-type="fig" rid="F1">Figure 1</xref> for better readability).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>The state transition diagram of a robot performing the foraging task.</p></caption>
<graphic xlink:href="frobt-07-00086-g0001.tif"/>
</fig>
</sec>
<sec>
<title>2.2. Robot Scale-Free Communication Network</title>
<p>In this section, we describe the design and implementation of the algorithm that leads to a scale-free robot communication network. An implementation of this algorithm in C&#x0002B;&#x0002B; is publicly available online<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref> (Rausch et al., <xref ref-type="bibr" rid="B31">2020</xref>). The generation of a scale-free network from local neighborhoods is an iterative process, where at each time step <italic>t</italic> the robot communication is updated according to the following procedure:</p>
<list list-type="order">
<list-item><p>Identify all connected components (<italic>CC</italic>s) in the resting swarm using depth-first-search. A <italic>CC</italic> is the maximal set of nodes (robots), where each two nodes are connected through a finite path. The <italic>CC</italic>s are initially derived from the spatial networks in which the robots are neighbors if they are within each other&#x00027;s communication radius.</p></list-item>
<list-item><p>Generate the scale-free network topology within a <italic>CC</italic> using preferential attachment (Albert and Barab&#x000E1;si, <xref ref-type="bibr" rid="B1">2002</xref>) as summarized in Algorithm 1. This algorithm is largely inspired by previously proposed approaches (Li and Chen, <xref ref-type="bibr" rid="B25">2003</xref>; Jiang et al., <xref ref-type="bibr" rid="B15">2014</xref>). We begin by selecting a sink node &#x003BD;<sub><italic>s</italic>, 0</sub> which is the node with the highest number of neighbors within its spatial proximity&#x02014;i.e., within the initial radius of <italic>r</italic><sub><italic>s</italic></sub> &#x0003D; 1.25 m. Within this <italic>r</italic><sub><italic>s</italic></sub>, each spatial neighbor &#x003BD;<sub><italic>s, i</italic></sub> is linked to &#x003BD;<sub><italic>s</italic>, 0</sub>, creating an initial sink network <italic>G</italic><sub><italic>s</italic></sub>. Next, we increase <italic>r</italic><sub><italic>s</italic></sub> by 0.2 m. Due to this increase, new nodes &#x003BD;<sub><italic>new</italic></sub> enter <italic>r</italic><sub><italic>s</italic></sub>. Each &#x003BD;<sub><italic>new</italic></sub> is connected to any &#x003BD;<sub><italic>s</italic></sub> following preferential attachment. In a preferential attachment process, the higher the degree of node &#x003BD;<sub><italic>s</italic></sub> compared to the sum of all node degrees within <italic>G</italic><sub><italic>s</italic></sub>, the more likely is &#x003BD;<sub><italic>new</italic></sub> to connect to &#x003BD;<sub><italic>s</italic></sub>. After all &#x003BD;<sub><italic>new</italic></sub> were added to <italic>G</italic><sub><italic>s</italic></sub>, <italic>r</italic><sub><italic>s</italic></sub> is increased again by 0.2 m. This process continues until <italic>G</italic><sub><italic>s</italic></sub> is of the same size as <italic>CC</italic>.</p></list-item>
<list-item><p>Repeat 2. for every <italic>CC</italic> in the swarm.</p></list-item>
</list>
<p>In Algorithm 1, <italic>N</italic><sub><italic>sink</italic></sub> is the size of the sink network <italic>G</italic><sub><italic>s</italic></sub>, in terms of the number of nodes. Similarly, <italic>N</italic><sub><italic>CC</italic></sub> is the size of the selected connected component; <italic>d</italic><sub><italic>s</italic></sub> is the degree of node &#x003BD;<sub><italic>s</italic></sub>, and <inline-formula><mml:math id="M6"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the sum over all degrees in the sink-network. Note that the robot communication approaches the scale-free network topology only for large enough <italic>CC</italic>. However, due to the relatively small area of the nest the robots had a high tendency to self-aggregate into a giant connected component.</p>
<p>To test how successful Algorithm 1 was in generating a scale-free topology, we recorded the degree distributions at <italic>t</italic> &#x0003D; 10 of 1,000 simulation runs. At <italic>t</italic> &#x0003D; 10 the large majority of robots was still resting inside the nest, providing us with at least one large <italic>CC</italic>. Scale-free networks are characterized by the power law degree distribution. Thus, we tested whether our recorded degree distributions follow the power law using previously established statistical methods (Clauset et al., <xref ref-type="bibr" rid="B9">2009</xref>; Broido and Clauset, <xref ref-type="bibr" rid="B6">2019</xref>; Rausch et al., <xref ref-type="bibr" rid="B32">2019a</xref>). Essentially, this statistical analysis is a highly rigorous power law fitting procedure that consists of three critical steps: (i) testing whether the shape of the distribution is due to random fluctuations, i.e., testing the <italic>goodness-of-fit</italic> given by a <italic>p</italic>-value. We proceed to the next step only if <italic>p</italic> &#x0003C; 0.1, otherwise the power law fit is considered unreliable. (ii) As the power law behavior is commonly found at the tail of the distribution, we proceed to the third step only if the data that is fit the power law behavior represents at least 10% of all data points. (iii) Finally, we compare the power law fit to other common distributions (such as the exponential or the log-normal) that may also tend to resemble a linear shape on a log-log scale (which is characteristic for the power law) (Clauset et al., <xref ref-type="bibr" rid="B9">2009</xref>; Alstott et al., <xref ref-type="bibr" rid="B3">2014</xref>). This is done by considering the log-likelihood ratio of each pair of distributions, which has a negative value if the distribution we compare the power law to is a significantly better fit. Consequently, the hypothesis that the data is power law distributed is not rejected only if this log-likelihood ratio is positive and only if we did not reject it at steps (i) and (ii). The result of the testing procedure can be captured by a numeric value to categorize whether the support for the hypothesis is not present, weak, moderate or strong (for more details see Rausch et al., <xref ref-type="bibr" rid="B32">2019a</xref>). The test results for Algorithm 1 have shown a statistically sound support for the power law distribution in 76% of tests (we ran 1,000 tests), suggesting that Algorithm 1 was considerably successful in creating scale-free networks.</p>
<table-wrap position="float">
<label>Algorithm 1</label>
<caption><p>Pseudo-code for the implementation of the preferential attachment, executed at each time step.</p></caption>
<graphic xlink:href="frobt-07-00086-i0001.tif"/>
</table-wrap>
<p>Alternatively, one can use Algorithm 1 to construct networks with a degree distribution that is less skewed than power law and more symmetric around the mean degree, i.e., networks that resemble more closely the well-known small-world networks. To this end, one can simply replace the preferential attachment component <inline-formula><mml:math id="M9"><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> by a real number.</p>
</sec>
<sec>
<title>2.3. Swarm Behavior</title>
<p>At the swarm level, the foraging behavior emerges as a result of complex interactions between the robots as well as between robots and their environment. As mentioned above, we evaluate this performance in dynamic environments, in which the food density is subject to single and periodic changes. The quality of the emergent performance is evaluated with respect to the swarm response (adaptivity) to the changing number of items in the foraging environment. In particular, we define the swarm performance with respect to (i) the speed of the swarm&#x00027;s collective response, and (ii) the number of retrieved items. The collective response is quantified using the number of resting robots at any time step. For instance, in case of a sudden high availability of food items an ideal swarm&#x00027;s response would be to allocate more robots to the foraging state shortly after the increase in the number of food items is detected.</p>
<p>We borrow the term of settling time from control theory to measure the time of the swarm&#x00027;s collective response, referred to as the convergence time&#x02014;i.e., the time the swarm needs to adapt the number of resting/foraging robots to any change in the items density. The settling time is defined as the time elapsed from the moment of applying a particular stimulus (i.e., changing the items&#x00027; density) to the time the system output (i.e., number of robots <italic>N</italic><sub><italic>rest</italic></sub> that are in the resting state) reaches and remains within a specified margin of error. Hence, the time to convergence is computed as in the following:</p>
<disp-formula id="E4"><label>(4)</label><mml:math id="M10"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>f</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">where&#x000A0;</mml:mtext><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>:</mml:mo><mml:mo stretchy="false">|</mml:mo><mml:mi>F</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>F</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo stretchy="false">|</mml:mo><mml:mo>&#x0003C;</mml:mo><mml:mi>&#x003B6;</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>inf</italic>{<italic>S</italic>} is the greatest lower bound of the set <italic>S</italic>, and the set <italic>S</italic> includes all time steps <italic>t</italic> at which the difference between the transformed number of resting robots at a specific time step <italic>N</italic><sub><italic>rest</italic></sub>(<italic>t</italic>) and the transformed number of resting robots at the steady state <italic>N</italic><sub><italic>rest</italic></sub>(<italic>t</italic><sub><italic>steady</italic></sub>) is smaller than a threshold &#x003B6;. In our study we set &#x003B6; &#x0003D; 0.1. Here, <italic>t</italic><sub><italic>steady</italic></sub> is the time step at which the system reaches its steady state. To compute the time to convergence, we use the matlab tool <sc>stepinfo</sc><xref ref-type="fn" rid="fn0002"><sup>2</sup></xref>, that first applies <italic>Fn</italic>(...) to transform the input into a continuous representation. This transformation was used for <italic>N</italic><sub><italic>rest</italic></sub>.</p>
<p>Finally, in addition to the convergence time, we investigate the swarm performance in terms of the number of retrieved items. The number of retrieved items is strongly related to the time to convergence, since a faster convergence implies a higher efficiency in retrieving items. We compute this performance measure using the cumulative sum of the items retrieved over time.</p>
</sec>
<sec>
<title>2.4. Simulation Setup</title>
<p>We ran the simulations using ARGoS<xref ref-type="fn" rid="fn0003"><sup>3</sup></xref>, a well-established physics-based simulator for swarm robotics (Pinciroli et al., <xref ref-type="bibr" rid="B28">2012</xref>). The values of particular parameter settings that can be used to reproduce our simulations and results are listed in <xref ref-type="table" rid="T1">Table 1</xref>. Additionally, the reader is encouraged to find our project on the Open Science Framwork<xref ref-type="fn" rid="fn0004"><sup>4</sup></xref> (Rausch et al., <xref ref-type="bibr" rid="B31">2020</xref>) to download the development sources and run the simulations.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Robot and arena parameters.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="center"><bold>Value</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left" colspan="2" style="background-color:#bbbdc0"><bold>ROBOT PARAMETERS</bold></td>
</tr>
<tr>
<td valign="top" align="left">Physical avoidance range</td>
<td valign="top" align="center">0.1 m</td>
</tr>
<tr>
<td valign="top" align="left">Communication range</td>
<td valign="top" align="center">1.25 m</td>
</tr>
<tr>
<td valign="top" align="left">Maximum moving speed</td>
<td valign="top" align="center">1 m/s</td>
</tr>
<tr>
<td valign="top" align="left">Minimum resting time &#x003B8;<sub><italic>r</italic></sub></td>
<td valign="top" align="center">100 s</td>
</tr>
<tr>
<td valign="top" align="left">Minimum unsuccessful foraging time &#x003B8;<sub><italic>f</italic></sub></td>
<td valign="top" align="center">500 s</td>
</tr>
<tr>
<td valign="top" align="left">Minimum distancing time &#x003B8;<sub><italic>d</italic></sub></td>
<td valign="top" align="center">100 s</td>
</tr>
<tr>
<td valign="top" align="left">Individual cues <italic>i</italic><sub><italic>f</italic></sub>,<italic>i</italic><sub><italic>r</italic></sub></td>
<td valign="top" align="center">0.01</td>
</tr>
<tr>
<td valign="top" align="left">Social cues <italic>s</italic><sub><italic>f</italic></sub>,<italic>s</italic><sub><italic>r</italic></sub></td>
<td valign="top" align="center">{0.01, 0.25, 0.99}</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2" style="background-color:#bbbdc0"><bold>ARENA PARAMETERS</bold></td>
</tr>
<tr>
<td valign="top" align="left">Total area of the arena <italic>A</italic></td>
<td valign="top" align="center">50 &#x000D7; 50 m<sup>2</sup></td>
</tr>
<tr>
<td valign="top" align="left">Area of the Nest <italic>A</italic><sub><italic>n</italic></sub></td>
<td valign="top" align="center">10 &#x000D7; 50 m<sup>2</sup></td>
</tr>
<tr>
<td valign="top" align="left">Area of the Foraging environment <italic>A</italic><sub><italic>f</italic></sub></td>
<td valign="top" align="center">40 &#x000D7; 50 m<sup>2</sup></td>
</tr>
<tr>
<td valign="top" align="left">Number of robots <italic>N</italic><sub><italic>robots</italic></sub></td>
<td valign="top" align="center">950</td>
</tr>
<tr>
<td valign="top" align="left">Number of items <italic>N</italic><sub><italic>items</italic></sub></td>
<td valign="top" align="center">30 or 300</td>
</tr>
<tr>
<td valign="top" align="left">Total experiment duration <italic>T</italic></td>
<td valign="top" align="center">10<sup>4</sup> ts</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> displays snapshots from simulations with proximity (<xref ref-type="fig" rid="F2">Figure 2A</xref>) and scale-free (<xref ref-type="fig" rid="F2">Figure 2B</xref>) networks. The square-shaped arena is of the size <italic>L</italic> &#x000D7; <italic>L</italic> (<italic>L</italic> &#x0003D; 50 m) and consists of the nest <italic>A</italic><sub><italic>n</italic></sub> &#x0003D; 10 &#x000D7; 50 m<sup>2</sup> (gray colored floor in <xref ref-type="fig" rid="F2">Figure 2</xref>) in addition to the foraging environment <italic>A</italic><sub><italic>f</italic></sub> &#x0003D; 40 &#x000D7; 50 m<sup>2</sup> (white in <xref ref-type="fig" rid="F2">Figure 2</xref>). Inside the foraging environment, food items are uniformly distributed. When a robot brings a food item to the nest, a new food item appears at a random location within the foraging environment, preventing item depletion that might lead the foraging activity to halt.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Illustrations of the arena taken from ARGoS simulations. Gray area: nest; white area: foraging environment; black dots: items; blue objects: Footbots; light-blue lines: communication (range-and-bearing) links. Top views onto the entire arena; the communication network is constructed in <bold>(A)</bold> using spatial network given by the local robot interactions, and in <bold>(B)</bold> using Algorithm 1; the inset shows a close-up view on the robots. In all figures, the communication links are formed <italic>only</italic> for <italic>resting</italic> robots <italic>inside</italic> the nest, as in our experiments moving robots neither broadcast nor listen to any messages.Therefore, it can happen that although a robot is within the communication range of another, no communication link is established between the two.</p></caption>
<graphic xlink:href="frobt-07-00086-g0002.tif"/>
</fig>
<p>The robots are able to rapidly leave or return to the nest thanks to the phototaxis behavior. For that purpose, light beacons are installed on one side of the nest, opposite to the foraging environment (yellow dots at the top of <xref ref-type="fig" rid="F2">Figure 2A</xref> or <xref ref-type="fig" rid="F2">Figure 2B</xref>). Robots are repelled from the lights whenever they need to leave the nest, and attracted to the lights to return to the nest. The swarm consists of <italic>N</italic><sub><italic>robots</italic></sub> homogeneous robots (we use Footbots; Bonani et al., <xref ref-type="bibr" rid="B5">2010</xref>). Robots are equipped with probabilistic controllers, which tune their behavior to forage or rest based on the above mentioned probabilities (i.e., <italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub> and <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub>).</p>
<p>To implement the proposed networks (i.e., scale-free and proximity), we utilize the range-and-bearing medium (that includes sensor and actuator) provided in ARGoS. However, this communication medium is used differently for the two networks. In the case of proximity networks, the communication range of the range-and-bearing medium is set to 1.25 m (as we can see in <xref ref-type="table" rid="T1">Table 1</xref>). In the case of the scale-free networks, at each time step, we first obtain the connected components using the spatial proximity network, where the robots communicate via the range-and-bearing medium within a radius of 1.25 m. In the same time step, for each of these connected components, we create a scale-free network in which the connections can span over the entire length of the nest, if the connected component spans over that area. Thus, the resulting scale-free networks can include much longer ranges than 1.25 m. For implementing such a communication topology in real-world swarms, it is possible to apply other communication systems than the range-and-bearing medium, such as other radio communication technologies (e.g., the well-established wifi Li et al., <xref ref-type="bibr" rid="B24">2008</xref>), shared memory (Bay&#x00131;nd&#x00131;r, <xref ref-type="bibr" rid="B4">2016</xref>) or promising concepts such as the augmented reality for Kilobots (ARK) (Reina et al., <xref ref-type="bibr" rid="B34">2017</xref>).</p>
</sec>
</sec>
<sec id="s3">
<title>3. Results and Discussion</title>
<p>The goal of this study is to investigate the influence of the scale-free topology on the collective performance and response of a swarm foraging in a dynamic environment. The dynamics of the environment is modeled in terms of single and periodic changes in the food density. In robot swarms, the interaction among individuals is mostly modeled using local communications, where each robot has a limited communication range. The communication range is usually much smaller than the dimension of the world. The robot&#x00027;s neighborhood is defined as the set (or a subset) of robots that is located within its communication range. In this study, besides local interactions, we make use of the well-known preferential attachment mechanism (applied in Algorithm 1, see section 2.2) to construct a scale-free topology that accelerates information sharing. Hence, we investigate whether it may improve the efficiency of the swarm collective response to environmental dynamics.</p>
<p>As mentioned above, we define the collective response in terms of the number of resting robots and measure it as the change in this number over time. In our experiments, initially, the entire swarm is in the resting state. In the following, a transient period begins, during which the swarm displays oscillations at the group level. First, almost all robots begin foraging during the first 500 time steps (ts)&#x02014;Note that a simulated time step is one second, with one tick per second. Within the subsequent &#x02248; 500 ts most of the swarm individuals come back to the nest and switch to resting. Even though such collective behavior oscillates over several following time periods&#x02014;due to the probabilistic nature of the robot controller&#x02014;the coherence increases rapidly and the swarm converges on a relatively stable number of resting robots. The duration of this transient period is mostly shorter than 5&#x000B7;10<sup>3</sup> ts, after which we begin our measurements. Finally, based on preliminary results, we set the swarm size to <italic>N</italic> &#x0003D; 950, which balances physical interference with swarm performance and delivers a sufficiently large number of samples for statistically sound analysis.</p>
<p>We use two experimental settings. In the first setting, after the system converges on a number of resting robots <italic>N</italic><sub><italic>rest</italic></sub> (number of foraging robots is then <italic>N</italic><sub><italic>forg</italic></sub> &#x0003D; <italic>N</italic> &#x02212; <italic>N</italic><sub><italic>rest</italic></sub>), a single external stimulus is applied. This stimulus represents an increase in the number of food items <italic>N</italic><sub><italic>items</italic></sub> by the factor of 10 (from 30 to 300 items) at a particular time point <italic>t</italic><sub><italic>crit</italic></sub>. In the second experimental settings, we challenge the swarm further by applying a periodic change in the density of the food items, hence the benefit of a quicker response becomes clearer. The periodic change is applied over periods of 2500 ts and can be of two types, either increasing or decreasing the number of food items <italic>N</italic><sub><italic>items</italic></sub>, always by a factor of 10.</p>
<p>In each of the two experimental settings, two interaction networks are implemented, proximity network (emerging from local interactions), and scale-free network (generated using preferential attachment). As mentioned above, for the construction of scale-free networks, the connected components of the robots resting at the nest site are used to impose the network topology. Over these networks the robots exchange specific information about their success or failure of the latest foraging attempt seeking an accurate estimation of the current situation in the foraging environment.</p>
<p>According to our experiments, there are two main cases, in which the influence of the communication topology is negligible. These are (i) small social cues (i.e., with <italic>s</italic><sub><italic>f</italic></sub> and <italic>s</italic><sub><italic>i</italic></sub> values smaller than 0.01), and (ii) small number of resting robots <italic>N</italic><sub><italic>rest</italic></sub>. The first case is straightforward, as the social cues decrease, the impact of the information obtained from other robots decreases, and hence the impact of the interaction network on the emergent dynamics vanishes. The second case is associated with the particular implementation of the scale-free communication network in the nest. Since the construction of this network relies on the connected components present in the nest at every time step, small numbers of resting robots result in scaling down the size of such connected components and hence topological contribution becomes negligible. Therefore, as we aim to investigate the influence of the interaction network on the emerging dynamics, we consider those cue configurations in which the social feedback of the robot&#x00027;s neighborhood has a distinguishable role in shaping its decision. This is achieved by setting the social cues to have a clear advantage over the individual cues&#x02014;i.e., <italic>s</italic><sub><italic>f</italic></sub> &#x0226B; <italic>i</italic><sub><italic>f</italic></sub>, <italic>s</italic><sub><italic>r</italic></sub> &#x0226B; <italic>i</italic><sub><italic>r</italic></sub>. For an extensive discussion on the impact of cue values on swarm behavior in a similar settings of the foraging task the interested reader is referred to Liu et al. (<xref ref-type="bibr" rid="B26">2007</xref>) and Rausch et al. (<xref ref-type="bibr" rid="B32">2019a</xref>). For the reasons mentioned above, we set the cue values to <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; 0.25, <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.25, <italic>i</italic><sub><italic>f</italic></sub> &#x0003D; 0.01, <italic>i</italic><sub><italic>r</italic></sub> &#x0003D; 0.01. Nevertheless, further below we will additionally compare our results to those obtained with more extreme values of the social cues, i.e., <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; 0.01, <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.01 and <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; 0.99, <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.99.</p>
<p>The plots in <xref ref-type="fig" rid="F3">Figure 3</xref> depict results obtained over 30 runs. They compare the emergent collective response of the swarm to a single stimulus (i.e., change in food density) as well as to multiple stimuli when individuals interact locally in comparison to interacting via scale-free topologies. Firstly, our results reveal a clear impact of the network structure on the robot activation level across all types of stimuli (i.e., increasing or decreasing food item density). This is illustrated through the number of resting robots being considerably smaller when using the scale-free network as opposed to the proximity network throughout the entire simulation time (see <xref ref-type="fig" rid="F3">Figures 3A,B</xref>). Proximity networks in <xref ref-type="fig" rid="F3">Figure 3B</xref> show a non-adaptive swarm behavior that is largely due to the very low number of foraging robots. When there are too few foraging robots, the system tends to approach a global absorbing state in which robots cease to switch to foraging. In case of proximity networks in <xref ref-type="fig" rid="F3">Figure 3B</xref>, this tendency toward the global resting state is due to the initial low density in food items (i.e., <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30). Low <italic>N</italic><sub><italic>items</italic></sub> leads to a large number of failed attempts to find and retrieve them. Consequently, this increases <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub> up to its maximum <italic>P</italic><sub><italic>f</italic>&#x02192;<italic>r</italic></sub> &#x0003D; 1, pushing the robots to keep resting. Thus, the subsequent increase in items to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 is not sensed by the swarm. As an example, this behavior is evident at <italic>t</italic> &#x0003D; 7, 500 ts when <italic>N</italic><sub><italic>rest</italic></sub> did not decrease in response to the increasing <italic>N</italic><sub><italic>items</italic></sub>.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Swarm performance comparison between the scale-free networks (blue) and the proximity networks (red). (Top) Swarm collective response in terms of <italic>N</italic><sub><italic>rest</italic></sub>. <bold>(A)</bold> Single stimulus of item gain from <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 at <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500 ts, and <bold>(B)</bold> multiple stimuli are executed in intervals of &#x00394;<italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 2, 500 ts. The items are repeatedly increased to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 (indicated by &#x025B5;) or reduced to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 (indicated by &#x025BF;). <bold>(C)</bold> Similar setting to <bold>(B)</bold>, but starting from <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 and changing the items in an inverse order, as indicated by the &#x025B5; and &#x025BF; markers. (Center) Swarm convergence time. <bold>(D)</bold> Single stimulus of item gain, <italic>S</italic><sub>1</sub> is the index for the stimulus applied at <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500. <bold>(E)</bold> Multiple stimuli where items are repeatedly increased or reduced. <italic>S</italic><sub>1&#x02026;7</sub> correspond to the seven stimuli applied between <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7500 ts and <italic>t</italic> &#x0003D; 25, 000 ts in intervals of &#x00394;<italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 2, 500 ts, as in <bold>(B)</bold>. <bold>(F)</bold> Similar to <bold>(E)</bold> but with an inverse order, as in <bold>(C)</bold>. (Bottom) Cumulative sum of the retrieved items. <bold>(G)</bold> Scenario with a single stimulus. <bold>(H)</bold> Scenario that starts with <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30, as in <bold>(B)</bold>. <bold>(I)</bold> Scenario that starts with <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300, as in <bold>(C)</bold>. In <bold>(A&#x02013;C)</bold> and in <bold>(G&#x02013;I)</bold>, shaded areas indicate the confidence interval of 95%. All results were averaged over 30 runs.</p></caption>
<graphic xlink:href="frobt-07-00086-g0003.tif"/>
</fig>
<p>Therefore, it is important to consider the robustness of the swarm behavior to initial conditions, prior to the external stimulus. To this end, we inverted the changes of <italic>N</italic><sub><italic>items</italic></sub>, starting with <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300, reducing it to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 at <italic>t</italic> &#x0003D; 7, 500 ts, then increasing it back to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300, etc&#x02026; Under this specific setting, foraging robots have a higher likelihood to find items than when the initial item density is as low as <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30. Consequently, the returning robots broadcast a larger number of &#x0201C;success&#x0201D; messages, increasing the robots&#x00027; probability to switch to foraging (<italic>P</italic><sub><italic>r</italic>&#x02192;<italic>f</italic></sub>). <xref ref-type="fig" rid="F3">Figure 3C</xref> shows that this configuration of the initial conditions led to an adaptive swarm behavior for the case of proximity networks. This adaptive behavior comes with a reduced time to convergence (see <xref ref-type="fig" rid="F3">Figure 3F</xref> vs. <xref ref-type="fig" rid="F3">Figure 3E</xref>) and a significantly higher number of retrieved items (see <xref ref-type="fig" rid="F3">Figure 3I</xref> vs. <xref ref-type="fig" rid="F3">Figure 3H</xref>). Nevertheless, with scale-free networks the collective response not only remained more rapid but also appeared to be more robust to the initial conditions of the system, as the trajectory of <italic>N</italic><sub><italic>rest</italic></sub> in <xref ref-type="fig" rid="F3">Figure 3C</xref> is qualitatively similar to <xref ref-type="fig" rid="F3">Figure 3B</xref>. Nevertheless, the scale-free networks display higher fluctuations of <italic>N</italic><sub><italic>rest</italic></sub> compared to the relatively coherent decision achieved when using proximity networks (<xref ref-type="fig" rid="F3">Figures 3A&#x02013;C</xref>). This is due to the high impact that a single hub can have on a large population of the swarm.</p>
<p>The key contribution of the network topology is reflected in the time the swarm requires to build up its collective response. When using scale-free networks, hubs&#x02014;i.e., robots with an exceptionally high connectivity degree&#x02014;help accelerate the information propagation in two manners: (i) due to their high connectivity degree, their individual experience is shared with a large number of robots within one time step. (ii) Their presence creates a shorter average path of the network compared to proifbximity networks, which allows any two robots to exchange information over a smaller number of hops (i.e., within fewer time steps). As mentioned above, we use the settling time defined in Equation (4) to compute the swarm&#x00027;s convergence time after each stimuli&#x02014;i.e., change in the items&#x00027; density. <xref ref-type="fig" rid="F3">Figure 3D</xref> shows the time it took the swarm to converge to a steady number of resting/foraging robots after increasing the items at the foraging area from <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 at time step &#x00394;<italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500. <xref ref-type="fig" rid="F3">Figures 3E,F</xref> show the same measure for the repeated stimuli of items increase and decrease, starting from <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 (<xref ref-type="fig" rid="F3">Figure 3E</xref>) and <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 (<xref ref-type="fig" rid="F3">Figure 3F</xref>). In all three findings, <xref ref-type="fig" rid="F3">Figures 3D&#x02013;F</xref>, we can notice the significantly shorter convergence time when robots in the nest are communicating using the scale-free network in comparison to the proximity network. These results suggest a higher level of swarm adaptivity to dynamic environments under scale-free communications. Furthermore, as shown in <xref ref-type="fig" rid="F3">Figures 3G&#x02013;I</xref>, using scale-free networks the cumulative sum of the retrieved items is either considerably higher from the beginning or at the later stages of the experiment, compared to the scenarios with proximity networks.</p>
<p>An important aspect to notice is the physical division between the site at which the information is to harvest (i.e., the foraging environment), and the site at which the information is to exchange (i.e., the nest). Usually, the communication speed is considerably higher than motion speed. However, specifically in the foraging scenario, the communication speed is limited by the motion speed, since it is necessary for the robot to travel across the foraging environment to reach the nest, where it can start communicating. One of the clear consequences of this important remark is that even for the case of scale-free networks where the collective response is accelerated, there is a considerably faster swarm reaction to an increase in the food density compared to the reaction to a decrease (see the blue line in <xref ref-type="fig" rid="F3">Figure 3B</xref>). Before the increase of food items, there were few foraging robots. Those robots consumed time to return to the nest, switch to resting, inform their neighbors about their foraging experience, and, ultimately, convince more robots to leave the nest in case of a successful foraging attempt. For scale-free networks this resulted in a rapid activation of resting robots. Differently, collective reaction slowed down when the environmental change was a decrease in food items. This behavior can be explained as follows: the large number of robots foraging while the food density was high experienced the drop in the food density through their failed foraging attempts. Upon returning to the nest, these robots led to considerably higher crowding at the nest entrance. This prolonged the time that the robots needed to enter the nest and start communicating. Moreover, the higher <italic>N</italic><sub><italic>rest</italic></sub> the higher the likelihood that there is one, giant, connected component inside the nest, spanning over a large number of robots. If such a network is scale-free, the hubs have a high chance of influencing many robots to switch to foraging. By contrast, a low <italic>N</italic><sub><italic>rest</italic></sub> often led to fragmented networks, reducing the influence of hubs, lowering the number of switching robots and, thus, slowing down the collective response compared to a high <italic>N</italic><sub><italic>rest</italic></sub>. Hence, the collective response time&#x02014;even when using scale-free networks&#x02014;is longer when there are many robots foraging.</p>
<p>To obtain a closer look at the interaction network topology, we can analyze the degree distributions of the resting robots interacting inside nest. We draw the degree distributions for different time steps that are selected when the item density was both high (i.e., 300 items) and low (i.e., 30 items). As we can see in <xref ref-type="fig" rid="F4">Figure 4A</xref>, scale-free networks strongly resemble a power-law distributed degree for all time steps at which the networks are recorded. Similar consistent is the degree distribution of the proximity networks in <xref ref-type="fig" rid="F4">Figure 4B</xref> for all tested time steps. However, the degree distribution here appears closer to a Gaussian distribution which is more symmetrical around the mean than the scale-free network and has fewer outliers. To get a clearer look at the outliers, in <xref ref-type="fig" rid="F4">Figures 4C,D</xref>, we show the communication degree using boxplots. For the scale-free networks the density of outliers is notably large, the most extreme among those are the hubs in the network. We can also notice a clear trend of a higher number of hubs when the number of resting robots <italic>N</italic><sub><italic>rest</italic></sub> is higher due to low <italic>N</italic><sub><italic>items</italic></sub>. This density of outliers changes periodically between the external stimuli <italic>S</italic><sub><italic>i</italic></sub> together with <italic>N</italic><sub><italic>rest</italic></sub>. In the case of proximity networks, the boxplots show a relatively low density of outliers and negligible changes with <italic>S</italic><sub><italic>i</italic></sub>.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Degree distributions of the networks within the nest at different time instances. <bold>(A)</bold> Scale-free networks; <bold>(B)</bold> Proximity networks. At <italic>t</italic> &#x0003D; 5, 000 ts and <italic>t</italic> &#x0003D; 11, 250 ts there are <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 to retrieve, while at <italic>t</italic> &#x0003D; 8, 750 ts and <italic>t</italic> &#x0003D; 13, 750 ts the item count is <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300. Additionally, box plots for the <bold>(C)</bold> scale-free and <bold>(D)</bold> proximity networks illustrate the presence of outliers for the different onsets of stimuli <italic>S</italic><sub>1&#x02026;7</sub> (starting at <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500 ts and occurring in intervals of &#x00394;<italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 2, 500 ts). As expected, in contrast to the proximity networks, in case of scale-free networks, the outliers (indicated by the &#x0002B; markers) are so extreme that the boxes containing the mean values are barely recognizable at the bottom of plot <bold>(C)</bold>.</p></caption>
<graphic xlink:href="frobt-07-00086-g0004.tif"/>
</fig>
<p>Additionally, it is worthwhile considering the effect of rewiring on the collective response. As elaborated in section 2.2, Algorithm 1 is applied at every time step as the robots are in motion. However, because Algorithm 1 has a stochastic component, the resulting network at time step <italic>t</italic> is very likely to be different from <italic>t</italic> &#x02212; 1. Such dynamic rewiring increases the probability that two remote robots share a link. Consequently, a random robot is more likely to obtain information from spatially uncorrelated sources, i.e., it obtains a sample that is more representative of the swarm opinion. This resembles the common &#x0201C;random mixing&#x0201D; paradigm often found in swarm robotics, stating that an encounter probability between two robots is the same for any pair of robots. Thus, the adaptive behavior that follows from using Algorithm 1 could be largely attributed to this rewiring-induced opinion mixing.</p>
<p>To examine whether this may indeed be the case, we ran simulations with a modified version of Algorithm 1 where we replaced the preferential attachment component <inline-formula><mml:math id="M12"><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> by a real number &#x003C1; &#x02208; {0.01, 0.1}. Note that while this modification aims at altering the network topology, the resulting alternative networks are still regenerated at each time step, similar to scale-free networks, i.e., the notion of rewiring is preserved. The results are shown in <xref ref-type="fig" rid="F5">Figure 5</xref>. The similarity to the scale-free networks scenario is particularly striking for &#x003C1; &#x0003D; 0.01. When <italic>N</italic><sub><italic>rest</italic></sub> is low, it becomes difficult to separate a scale-free network (where the degrees are power law distributed) from a small-world network (where the degree distribution is much less skewed, i.e., more symmetric around the mean value). Therefore, for low <italic>N</italic><sub><italic>rest</italic></sub> the impact of the preferential attachment component in Algorithm 1 can be well-approximated by a constant such as &#x003C1; &#x0003D; 0.01. More importantly, it shows that the strong effect that dynamic rewiring has on swarm adaptivity and collective response.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Comparison of the <bold>(A)</bold> swarm collective response, <bold>(B)</bold> time to convergence, and <bold>(C)</bold> swarm performance, between scale-free networks and random networks created with &#x003C1; &#x0003D; 0.01 and &#x003C1; &#x0003D; 0.1.</p></caption>
<graphic xlink:href="frobt-07-00086-g0005.tif"/>
</fig>
<p>A feature that frequently occurs in realistic communication is the packet loss. It occurs when a robot fails to receive a message broadcast by a neighbor, due to radio-frequency interference or due to overflow of a robot&#x00027;s receiver queue. We implemented packet loss events by allowing the robots to ignore incoming messages with probability <italic>p</italic><sub><italic>pl</italic></sub>. <xref ref-type="fig" rid="F6">Figure 6</xref> shows the results for the proximity and scale-free networks with <italic>p</italic><sub><italic>pl</italic></sub> &#x02208; {0.1, 0.5}. Surprisingly, the swarm adaptivity considerably improves in case of proximity networks, while with scale-free networks the swarm remains more robust to the influence of the packet loss. Higher probabilities of packet loss appears to shorten the time to convergence and slightly increase the number of collected items. One possible explanation for this behavior could be that by probabilistically ignoring incoming messages the robots become to some extent able to reduce the correlation between their behavior and that of their spatial neighbors. Synthetically generated networks, such as the scale-free networks considered in this study, represent an extreme case of such spatial decorrelation. In contrast, in proximity networks and absence of packet loss, spatial correlations are very high, leading to feedback mechanisms that reduce sensitivity to new information. The presence of packet loss appears to create a middle ground that bolsters the adaptive behavior at the swarm level. However, we only tested two values of <italic>p</italic><sub><italic>pl</italic></sub> and it is possible that for <italic>p</italic><sub><italic>pl</italic></sub> &#x0003E; 0.5 inverse effects could be observed. Finally, when resting state can be associated with low energy consumption, the behavior of the system in the presence of here considered <italic>p</italic><sub><italic>pl</italic></sub> may demonstrate a high level of efficiency, in terms of increasing <italic>N</italic><sub><italic>rest</italic></sub> while preserving the high number of retrieved items. Nevertheless, as mentioned above, the detailed investigation of the influence of packet loss is beyond the scope of the current study and future research is needed to confirm the generality of our findings<xref ref-type="fn" rid="fn0005"><sup>5</sup></xref>. Moreover, here we consider constant values of <italic>p</italic><sub><italic>pl</italic></sub> that are the same for every robot in the swarm and that do not change based on the location of the robot or the number of communication links. In contrast, in more realistic settings not only the packet loss but also <italic>p</italic><sub><italic>pl</italic></sub> itself may have fluctuating values depending on the situation and both could be profoundly difficult to control.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Swarm performance comparison between the scale-free networks (blue) and the proximity networks in presence of packet loss, with packet loss probability <italic>p</italic><sub><italic>pl</italic></sub> &#x0003D; 0.1 (red) and <italic>p</italic><sub><italic>pl</italic></sub> &#x0003D; 0.5 (magenta). The number of items is repeatedly increased to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300 (indicated by &#x025B5;) or reduced to <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30 (indicated by &#x025BF;). These repeating changes occur in intervals of &#x00394;<italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 2, 500 ts, starting at <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500 ts. (Left) Scenario with initially <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 30. (Right) Scenario with initially <italic>N</italic><sub><italic>items</italic></sub> &#x0003D; 300; <bold>(A,B)</bold> Swarm collective response in terms of <italic>N</italic><sub><italic>rest</italic></sub>. <bold>(C,D)</bold> Swarm convergence time. <italic>S</italic><sub>1&#x02026;7</sub> correspond to the seven stimuli between <italic>t</italic><sub><italic>crit</italic></sub> &#x0003D; 7, 500 ts and <italic>t</italic> &#x0003D; 25, 000 ts. <bold>(E,F)</bold> Cumulative sum of the retrieved items. In <bold>(A,B,E,F)</bold>, the shaded areas indicate the confidence interval of 95%. All results represent averages over 30 runs.</p></caption>
<graphic xlink:href="frobt-07-00086-g0006.tif"/>
</fig>
<p>Finally, we compare the intensity of the collective response resulting from different social cues. As mentioned above, social cues are the main driver of the dynamics to build up a faster response over the interaction network. Our results show that higher social cues lead to a higher activation of the resting robots, see <xref ref-type="fig" rid="F7">Figure 7</xref> that shows the activation of the resting robots when setting <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; 0.99, <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.99 in comparison to the setting <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; 0.01, <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.01 (results are averaged over 30 runs). High social cues activate considerably more resting robots (i.e., reduces number of resting robots) than low cue values (<xref ref-type="fig" rid="F7">Figure 7A</xref>). However, the convergence time with high cue values is comparable to the previously considered default case of <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.25 (see <xref ref-type="fig" rid="F7">Figure 7B</xref>). The number of collected items overlaps for all three cue values (see <xref ref-type="fig" rid="F7">Figure 7C</xref>).</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Comparison of the <bold>(A)</bold> swarm collective response, <bold>(B)</bold> time to convergence, and <bold>(C)</bold> swarm performance, between different values of social cues for swarms communicating through scale-free networks. Apart from <italic>s</italic><sub><italic>f</italic></sub> &#x0003D; <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.25 we consider two extreme cases: low values (<italic>s</italic><sub><italic>f</italic></sub> &#x0003D; <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.01) and high values of social cues (<italic>s</italic><sub><italic>f</italic></sub> &#x0003D; <italic>s</italic><sub><italic>r</italic></sub> &#x0003D; 0.99). All results were averaged over 30 runs.</p></caption>
<graphic xlink:href="frobt-07-00086-g0007.tif"/>
</fig>
</sec>
<sec sec-type="conclusions" id="s4">
<title>4. Conclusion</title>
<p>The goal of this study is to investigate the role of network topology in influencing the propagation of information in a foraging scenario with changing the availability of food items. Therefore, we have addressed scenarios with dynamic environments, a realistic aspect of most real-world applications. We considered two types of changes: a single abrupt change (referred to a single stimulus) and periodic changes (multiple stimuli). We aimed to examine how scale-free networks, in particular, may accelerate the spreading of information and hence enable a quicker collective response than proximity networks to the global changes.</p>
<p>We have implemented scale-free networks across the robots resting in the nest, as the nest is usually the part of the environment in which communication takes place. We applied the well-known preferential attachment technique to construct the scale-free topology. Following preferential attachment, the probability of connecting to a robot is proportional to its current connectivity degree. Therefore, a number of robots emerge to have a relatively high degree of connectivity, those are referred to as the hub robots. When the density of food items changes at the foraging environment, and this change is reflected in the robots&#x00027; experience, scale-free networks enable a faster spreading of this information in the nest. This led to a faster collective response compared to the scenarios in which interactions between the resting robots were implemented using proximity networks.</p>
<p>Our results suggest that the use of scale-free networks can improve the collective response of the swarm to changes in their dynamic environment, by improving the spread of shared information and reducing the spatial correlation in the robots&#x00027; decisions. These two desired features in collective systems are achieved due to the introduced possibility to communicate over long distances, as well as due to the dynamic rewiring of the interaction network at every time step as a consequence of robot motion. These insights were obtained by comparing the swarm behavior in scenarios with and without systematic packet loss, in addition to comparing the swarm performance between scenarios with scale-free networks and with alternative random networks. Furthermore, our findings showcase the effect of social cues on the intensity of the collective response in presence of scale-free networks. Our results show that higher social cues lead to a higher activation of the resting robots, due to the increased influence of their neighbors&#x00027; experience.</p>
<p>Although scale-free networks have shown to equip the swarm with a quicker reaction to changes in dynamic environments&#x02014;studied for the collective foraging task&#x02014;this came at the cost of the coherence of the collective response. Scale-free topologies led to more fluctuations of the swarm decision (whether to rest or to forage). These fluctuations can be explained in terms of the high influence of particular individuals (i.e., the hubs) on the opinions of a large population of the resting robots. Two particularly promising research directions for future work include the design of self-organized algorithms to implement scale-free topologies in robots swarms. Additionally, the design of efficient individual decision mechanisms that helps the collective response to demonstrate a higher stability. Finally, generalizing this study to other collective tasks such as site selection, flocking, and others may also lead to new interesting insights.</p>
</sec>
<sec sec-type="data-availability-statement" id="s5">
<title>Data Availability Statement</title>
<p>The original contributions presented in the study are publicly available. This data can be found here: <ext-link ext-link-type="uri" xlink:href="https://osf.io/48b9h/">https://osf.io/48b9h/</ext-link>.</p>
</sec>
<sec id="s6">
<title>Author Contributions</title>
<p>All authors contributed conception and design of the study. PS provided funding and administered the project. YK and PS supervised the study. IR implemented the simulation setup, performed the simulations, and the formal data analysis. YK wrote the first draft of the manuscript. YK and IR continuously discussed and elaborated on the design parameters and obtained results, which led in some cases to further implementations and analysis. YK and IR wrote most sections of the manuscript and analyzed the experimental data. IR and YK critically reviewed and edited the manuscript. All authors approved the submitted version.</p>
</sec>
<sec id="s7">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Albert</surname> <given-names>R.</given-names></name> <name><surname>Barab&#x000E1;si</surname> <given-names>A.-L.</given-names></name></person-group> (<year>2002</year>). <article-title>Statistical mechanics of complex networks</article-title>. <source>Rev. Modern Phys</source>. <volume>74</volume>, <fpage>47</fpage>&#x02013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.74.47</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Albert</surname> <given-names>R.</given-names></name> <name><surname>Jeong</surname> <given-names>H.</given-names></name> <name><surname>Barab&#x000E1;si</surname> <given-names>A.-L.</given-names></name></person-group> (<year>2000</year>). <article-title>Error and attack tolerance of complex networks</article-title>. <source>Nature</source> <volume>406</volume>:<fpage>378</fpage>. <pub-id pub-id-type="doi">10.1038/35019019</pub-id><pub-id pub-id-type="pmid">10935628</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alstott</surname> <given-names>J.</given-names></name> <name><surname>Bullmore</surname> <given-names>E.</given-names></name> <name><surname>Plenz</surname> <given-names>D.</given-names></name></person-group> (<year>2014</year>). <article-title>powerlaw: A python package for analysis of heavy-tailed distributions</article-title>. <source>PLoS ONE</source> <volume>9</volume>:<fpage>e85777</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0085777</pub-id><pub-id pub-id-type="pmid">24489671</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bay&#x00131;nd&#x00131;r</surname> <given-names>L.</given-names></name></person-group> (<year>2016</year>). <article-title>A review of swarm robotics tasks</article-title>. <source>Neurocomputing</source> <volume>172</volume>, <fpage>292</fpage>&#x02013;<lpage>321</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2015.05.116</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Bonani</surname> <given-names>M.</given-names></name> <name><surname>Longchamp</surname> <given-names>V.</given-names></name> <name><surname>Magnenat</surname> <given-names>S.</given-names></name> <name><surname>R&#x000E9;tornaz</surname> <given-names>P.</given-names></name> <name><surname>Burnier</surname> <given-names>D.</given-names></name> <name><surname>Roulet</surname> <given-names>G.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>&#x0201C;The marxbot, a miniature mobile robot opening new perspectives for the collective-robotic research,&#x0201D;</article-title> in 2010 <source>IEEE/RSJ International Conference on Intelligent Robots and Systems</source> (<publisher-loc>Taipei</publisher-loc>), <fpage>4187</fpage>&#x02013;<lpage>4193</lpage>. <pub-id pub-id-type="doi">10.1109/IROS.2010.5649153</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Broido</surname> <given-names>A. D.</given-names></name> <name><surname>Clauset</surname> <given-names>A.</given-names></name></person-group> (<year>2019</year>). <article-title>Scale-free networks are rare</article-title>. <source>Nat. Commun</source>. <volume>10</volume>, <fpage>1</fpage>&#x02013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1038/s41467-019-08746-5</pub-id><pub-id pub-id-type="pmid">30833554</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Campo</surname> <given-names>A.</given-names></name> <name><surname>Dorigo</surname> <given-names>M.</given-names></name></person-group> (<year>2007</year>). <article-title>&#x0201C;Efficient multi-foraging in swarm robotics,&#x0201D;</article-title> in <source>European Conference on Artificial Life</source> (<publisher-loc>Berlin; Heidelberg</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>696</fpage>&#x02013;<lpage>705</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-540-74913-4_70</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cavagna</surname> <given-names>A.</given-names></name> <name><surname>Cimarelli</surname> <given-names>A.</given-names></name> <name><surname>Giardina</surname> <given-names>I.</given-names></name> <name><surname>Parisi</surname> <given-names>G.</given-names></name> <name><surname>Santagati</surname> <given-names>R.</given-names></name> <name><surname>Stefanini</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>Scale-free correlations in starling flocks</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A</source>. <volume>107</volume>, <fpage>11865</fpage>&#x02013;<lpage>11870</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1005766107</pub-id><pub-id pub-id-type="pmid">20547832</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Clauset</surname> <given-names>A.</given-names></name> <name><surname>Shalizi</surname> <given-names>C. R.</given-names></name> <name><surname>Newman</surname> <given-names>M. E. J.</given-names></name></person-group> (<year>2009</year>). <article-title>Power-law distributions in empirical data</article-title>. <source>SIAM Rev</source>. <volume>51</volume>, <fpage>661</fpage>&#x02013;<lpage>703</lpage>. <pub-id pub-id-type="doi">10.1137/070710111</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cohen</surname> <given-names>R.</given-names></name> <name><surname>Havlin</surname> <given-names>S.</given-names></name></person-group> (<year>2003</year>). <article-title>Scale-free networks are ultrasmall</article-title>. <source>Phys. Rev. Lett</source>. <volume>90</volume>:<fpage>058701</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.90.058701</pub-id><pub-id pub-id-type="pmid">12633404</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Conradt</surname> <given-names>L.</given-names></name></person-group> (<year>2011</year>). <article-title>Models in animal collective decision-making: information uncertainty and conflicting preferences</article-title>. <source>Interface Focus</source> <volume>2</volume>, <fpage>226</fpage>&#x02013;<lpage>240</lpage>. <pub-id pub-id-type="doi">10.1098/rsfs.2011.0090</pub-id><pub-id pub-id-type="pmid">23565335</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goh</surname> <given-names>K.-I.</given-names></name> <name><surname>Kahng</surname> <given-names>B.</given-names></name> <name><surname>Kim</surname> <given-names>D.</given-names></name></person-group> (<year>2001</year>). <article-title>Universal behavior of load distribution in scale-free networks</article-title>. <source>Phys. Rev. Lett</source>. <volume>87</volume>:<fpage>278701</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.87.278701</pub-id><pub-id pub-id-type="pmid">11800921</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Hoff</surname> <given-names>N.</given-names></name> <name><surname>Wood</surname> <given-names>R.</given-names></name> <name><surname>Nagpal</surname> <given-names>R.</given-names></name></person-group> (<year>2013</year>). <article-title>&#x0201C;Distributed colony-level algorithm switching for robot swarm foraging,&#x0201D;</article-title> in <source>Distributed Autonomous Robotic Systems</source>, eds A. Martinoli, F. Mondada, N. Correll, G. Mermoud, M. Egerstedt, M. Ani Hsieh, et al. (<publisher-loc>Berlin; Heidelberg</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>417</fpage>&#x02013;<lpage>430</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-642-32723-0_30</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Holme</surname> <given-names>P.</given-names></name></person-group> (<year>2019</year>). <article-title>Rare and everywhere: perspectives on scale-free networks</article-title>. <source>Nat. Commun</source>. <volume>10</volume>, <fpage>1</fpage>&#x02013;<lpage>3</lpage>. <pub-id pub-id-type="doi">10.1038/s41467-019-09038-8</pub-id><pub-id pub-id-type="pmid">30833568</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jiang</surname> <given-names>L.</given-names></name> <name><surname>Jin</surname> <given-names>X.</given-names></name> <name><surname>Xia</surname> <given-names>Y.</given-names></name> <name><surname>Ouyang</surname> <given-names>B.</given-names></name> <name><surname>Wu</surname> <given-names>D.</given-names></name> <name><surname>Chen</surname> <given-names>X.</given-names></name></person-group> (<year>2014</year>). <article-title>A scale-free topology construction model for wireless sensor networks</article-title>. <source>Int. J. Distrib. Sensor Netw</source>. <volume>10</volume>:<fpage>764698</fpage>. <pub-id pub-id-type="doi">10.1155/2014/764698</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Birattari</surname> <given-names>M.</given-names></name> <name><surname>Rammig</surname> <given-names>F.</given-names></name></person-group> (<year>2016</year>). <article-title>Analysis of long-term swarm performance based on short-term experiments</article-title>. <source>Soft Comput</source>. <volume>20</volume>, <fpage>37</fpage>&#x02013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1007/s00500-015-1958-0</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Dorigo</surname> <given-names>M.</given-names></name></person-group> (<year>2016</year>). <article-title>Modeling robot swarms using integrals of birth-death processes</article-title>. <source>ACM Trans. Auton. Adapt. Syst</source>. <volume>11</volume>:<fpage>8</fpage>. <pub-id pub-id-type="doi">10.1145/2870637</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Ferrante</surname> <given-names>E.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name> <name><surname>Huepe</surname> <given-names>C.</given-names></name></person-group> (<year>2017a</year>). <article-title>Scale invariance in natural and artificial collective systems: a review</article-title>. <source>J. R. Soc. Interface</source> <volume>14</volume>:<fpage>20170662</fpage>. <pub-id pub-id-type="doi">10.1098/rsif.2017.0662</pub-id><pub-id pub-id-type="pmid">29093130</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Pinciroli</surname> <given-names>C.</given-names></name> <name><surname>Valentini</surname> <given-names>G.</given-names></name> <name><surname>Hamann</surname> <given-names>H.</given-names></name></person-group> (<year>2017b</year>). <article-title>The impact of agent density on scalability in collective systems: noise-induced versus majority-based bistability</article-title>. <source>Swarm Intell</source>. <volume>11</volume>, <fpage>155</fpage>&#x02013;<lpage>179</lpage>. <pub-id pub-id-type="doi">10.1007/s11721-017-0137-6</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Rausch</surname> <given-names>I.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name></person-group> (<year>2018</year>). <article-title>&#x0201C;The impact of interaction models on the coherence of collective decision-making: a case study with simulated locusts,&#x0201D;</article-title> in <source>International Conference on Swarm Intelligence</source> (<publisher-loc>Rome</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>252</fpage>&#x02013;<lpage>263</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-00533-7_20</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name> <name><surname>Hamann</surname> <given-names>H.</given-names></name></person-group> (<year>2019a</year>). <article-title>The neglected pieces of designing collective decision-making processes</article-title>. <source>Front. Robot. AI</source> <volume>6</volume>:<fpage>16</fpage>. <pub-id pub-id-type="doi">10.3389/frobt.2019.00016</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Vanhee</surname> <given-names>S.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name></person-group> (<year>2019b</year>). <article-title>Local ant system for allocating robot swarms to time-constrained tasks</article-title>. <source>J. Comput. Sci</source>. <volume>31</volume>, <fpage>33</fpage>&#x02013;<lpage>44</lpage>. <pub-id pub-id-type="doi">10.1016/j.jocs.2018.12.012</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lerman</surname> <given-names>K.</given-names></name> <name><surname>Galstyan</surname> <given-names>A.</given-names></name></person-group> (<year>2002</year>). <article-title>Mathematical model of foraging in a group of robots: effect of interference</article-title>. <source>Auton. Robots</source> <volume>13</volume>, <fpage>127</fpage>&#x02013;<lpage>141</lpage>. <pub-id pub-id-type="doi">10.1023/A:1019633424543</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>M.</given-names></name> <name><surname>Lu</surname> <given-names>K.</given-names></name> <name><surname>Zhu</surname> <given-names>H.</given-names></name> <name><surname>Chen</surname> <given-names>M.</given-names></name> <name><surname>Mao</surname> <given-names>S.</given-names></name> <name><surname>Prabhakaran</surname> <given-names>B.</given-names></name></person-group> (<year>2008</year>). <article-title>&#x0201C;Robot swarm communication networks: architectures, protocols, and applications,&#x0201D;</article-title> in <source>2008 Third International Conference on Communications and Networking in China</source> (<publisher-loc>Hangzhou</publisher-loc>), <fpage>162</fpage>&#x02013;<lpage>166</lpage>.</citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>X.</given-names></name> <name><surname>Chen</surname> <given-names>G.</given-names></name></person-group> (<year>2003</year>). <article-title>A local-world evolving network model</article-title>. <source>Phys. A</source> <volume>328</volume>, <fpage>274</fpage>&#x02013;<lpage>286</lpage>. <pub-id pub-id-type="doi">10.1016/S0378-4371(03)00604-6</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>W.</given-names></name> <name><surname>Winfield</surname> <given-names>A. F. T.</given-names></name> <name><surname>Sa</surname> <given-names>J.</given-names></name> <name><surname>Chen</surname> <given-names>J.</given-names></name> <name><surname>Dou</surname> <given-names>L.</given-names></name></person-group> (<year>2007</year>). <article-title>Towards energy optimization: emergent task allocation in a swarm of foraging robots</article-title>. <source>Adapt. Behav</source>. <volume>15</volume>, <fpage>289</fpage>&#x02013;<lpage>305</lpage>. <pub-id pub-id-type="doi">10.1177/1059712307082088</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Michelena</surname> <given-names>P.</given-names></name> <name><surname>Jeanson</surname> <given-names>R.</given-names></name> <name><surname>Deneubourg</surname> <given-names>J.-L.</given-names></name> <name><surname>Sibbald</surname> <given-names>A. M.</given-names></name></person-group> (<year>2009</year>). <article-title>Personality and collective decision-making in foraging herbivores</article-title>. <source>Proc. R. Soc. B Biol. Sci</source>. <volume>277</volume>, <fpage>1093</fpage>&#x02013;<lpage>1099</lpage>. <pub-id pub-id-type="doi">10.1098/rspb.2009.1926</pub-id><pub-id pub-id-type="pmid">19955156</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pinciroli</surname> <given-names>C.</given-names></name> <name><surname>Trianni</surname> <given-names>V.</given-names></name> <name><surname>O&#x00027;Grady</surname> <given-names>R.</given-names></name> <name><surname>Pini</surname> <given-names>G.</given-names></name> <name><surname>Brutschy</surname> <given-names>A.</given-names></name> <name><surname>Brambilla</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Argos: a modular, parallel, multi-engine simulator for multi-robot systems</article-title>. <source>Swarm Intell</source>. <volume>6</volume>, <fpage>271</fpage>&#x02013;<lpage>295</lpage>. <pub-id pub-id-type="doi">10.1007/s11721-012-0072-5</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pini</surname> <given-names>G.</given-names></name> <name><surname>Brutschy</surname> <given-names>A.</given-names></name> <name><surname>Pinciroli</surname> <given-names>C.</given-names></name> <name><surname>Dorigo</surname> <given-names>M.</given-names></name> <name><surname>Birattari</surname> <given-names>M.</given-names></name></person-group> (<year>2013</year>). <article-title>Autonomous task partitioning in robot foraging: an approach based on cost estimation</article-title>. <source>Adapt. Behav</source>. <volume>21</volume>, <fpage>118</fpage>&#x02013;<lpage>136</lpage>. <pub-id pub-id-type="doi">10.1177/1059712313484771</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pinter-Wollman</surname> <given-names>N.</given-names></name> <name><surname>Bala</surname> <given-names>A.</given-names></name> <name><surname>Merrell</surname> <given-names>A.</given-names></name> <name><surname>Queirolo</surname> <given-names>J.</given-names></name> <name><surname>Stumpe</surname> <given-names>M.</given-names></name> <name><surname>Holmes</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>Harvester ants use interactions to regulate forager activation and availability</article-title>. <source>Anim. Behav</source>. <volume>86</volume>, <fpage>197</fpage>&#x02013;<lpage>207</lpage>. <pub-id pub-id-type="doi">10.1016/j.anbehav.2013.05.012</pub-id><pub-id pub-id-type="pmid">24031094</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Rausch</surname> <given-names>I.</given-names></name> <name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Simoens</surname></name></person-group> (<year>2020</year>). <source>Adaptive Foraging in Dynamic Environments Using Scale-Free Interaction Networks</source>. Retrieved from: <ext-link ext-link-type="uri" xlink:href="https://osf.io/48b9h/">https://osf.io/48b9h/</ext-link>.</citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rausch</surname> <given-names>I.</given-names></name> <name><surname>Khaluf</surname> <given-names>Y.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name></person-group> (<year>2019a</year>). <article-title>Scale-free features in collective robot foraging</article-title>. <source>Appl. Sci</source>. <volume>9</volume>:<fpage>2667</fpage>. <pub-id pub-id-type="doi">10.3390/app9132667</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rausch</surname> <given-names>I.</given-names></name> <name><surname>Reina</surname> <given-names>A.</given-names></name> <name><surname>Simoens</surname> <given-names>P.</given-names></name> <name><surname>Khaluf</surname> <given-names>Y.</given-names></name></person-group> (<year>2019b</year>). <article-title>Coherent collective behaviour emerging from decentralised balancing of social feedback and noise</article-title>. <source>Swarm Intell</source>. <volume>13</volume>, <fpage>321</fpage>&#x02013;<lpage>345</lpage>. <pub-id pub-id-type="doi">10.1007/s11721-019-00173-y</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reina</surname> <given-names>A.</given-names></name> <name><surname>Cope</surname> <given-names>A. J.</given-names></name> <name><surname>Nikolaidis</surname> <given-names>E.</given-names></name> <name><surname>Marshall</surname> <given-names>J. A.</given-names></name> <name><surname>Sabo</surname> <given-names>C.</given-names></name></person-group> (<year>2017</year>). <article-title>Ark: augmented reality for kilobots</article-title>. <source>IEEE Robot. Autom. Lett</source>. <volume>2</volume>, <fpage>1755</fpage>&#x02013;<lpage>1761</lpage>. <pub-id pub-id-type="doi">10.1109/LRA.2017.2700059</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reina</surname> <given-names>A.</given-names></name> <name><surname>Valentini</surname> <given-names>G.</given-names></name> <name><surname>Fern&#x000E1;ndez-Oto</surname> <given-names>C.</given-names></name> <name><surname>Dorigo</surname> <given-names>M.</given-names></name> <name><surname>Trianni</surname> <given-names>V.</given-names></name></person-group> (<year>2015</year>). <article-title>A design pattern for decentralised decision making</article-title>. <source>PLoS ONE</source> <volume>10</volume>:<fpage>e140950</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0140950</pub-id><pub-id pub-id-type="pmid">26496359</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Richardson</surname> <given-names>T. O.</given-names></name> <name><surname>Mullon</surname> <given-names>C.</given-names></name> <name><surname>Marshall</surname> <given-names>J. A.</given-names></name> <name><surname>Franks</surname> <given-names>N. R.</given-names></name> <name><surname>Schlegel</surname> <given-names>T.</given-names></name></person-group> (<year>2018</year>). <article-title>The influence of the few: a stable-oligarchy-controls information flow in house-hunting ants</article-title>. <source>Proc. R. Soc. B Biol. Sci</source>. <volume>285</volume>:<fpage>20172726</fpage>. <pub-id pub-id-type="doi">10.1098/rspb.2017.2726</pub-id><pub-id pub-id-type="pmid">29445021</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schafer</surname> <given-names>R. J.</given-names></name> <name><surname>Holmes</surname> <given-names>S.</given-names></name> <name><surname>Gordon</surname> <given-names>D. M.</given-names></name></person-group> (<year>2006</year>). <article-title>Forager activation and food availability in harvester ants</article-title>. <source>Anim. Behav</source>. <volume>71</volume>, <fpage>815</fpage>&#x02013;<lpage>822</lpage>. <pub-id pub-id-type="doi">10.1016/j.anbehav.2005.05.024</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Seeley</surname> <given-names>T. D.</given-names></name> <name><surname>Visscher</surname> <given-names>P. K.</given-names></name> <name><surname>Schlegel</surname> <given-names>T.</given-names></name> <name><surname>Hogan</surname> <given-names>P. M.</given-names></name> <name><surname>Franks</surname> <given-names>N. R.</given-names></name> <name><surname>Marshall</surname> <given-names>J. A. R.</given-names></name></person-group> (<year>2012</year>). <article-title>Stop signals provide cross inhibition in collective decision-making by honeybee swarms</article-title>. <source>Science</source> <volume>335</volume>, <fpage>108</fpage>&#x02013;<lpage>111</lpage>. <pub-id pub-id-type="doi">10.1126/science.1210361</pub-id><pub-id pub-id-type="pmid">22157081</pub-id></citation></ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Thivierge</surname> <given-names>J.-P.</given-names></name></person-group> (<year>2014</year>). <article-title>Scale-free and economical features of functional connectivity in neuronal networks</article-title>. <source>Phys. Rev. E</source> <volume>90</volume>:<fpage>022721</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.90.022721</pub-id><pub-id pub-id-type="pmid">25215772</pub-id></citation></ref>
<ref id="B40">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Valentini</surname> <given-names>G.</given-names></name></person-group> (<year>2017</year>). <source>Achieving Consensus in Robot Swarms, Vol. 706 of Studies in Computational Intelligence</source>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer</publisher-name>. <pub-id pub-id-type="doi">10.1007/978-3-319-53609-5</pub-id></citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Valentini</surname> <given-names>G.</given-names></name> <name><surname>Ferrante</surname> <given-names>E.</given-names></name> <name><surname>Hamann</surname> <given-names>H.</given-names></name> <name><surname>Dorigo</surname> <given-names>M.</given-names></name></person-group> (<year>2016</year>). <article-title>Collective decision with 100kilobots: speed versus accuracy in binary discrimination problems</article-title>. <source>Auton. Agents Multi-Agent Syst</source>. <volume>30</volume>, <fpage>553</fpage>&#x02013;<lpage>580</lpage>. <pub-id pub-id-type="doi">10.1007/s10458-015-9323-3</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup><ext-link ext-link-type="uri" xlink:href="https://osf.io/48b9h/">https://osf.io/48b9h/</ext-link></p></fn>
<fn id="fn0002"><p><sup>2</sup><ext-link ext-link-type="uri" xlink:href="https://www.mathworks.com/help/control/ref/stepinfo.html">https://www.mathworks.com/help/control/ref/stepinfo.html</ext-link></p></fn>
<fn id="fn0003"><p><sup>3</sup><ext-link ext-link-type="uri" xlink:href="http://www.argos-sim.info/">http://www.argos-sim.info/</ext-link></p></fn>
<fn id="fn0004"><p><sup>4</sup><ext-link ext-link-type="uri" xlink:href="https://osf.io/48b9h/">https://osf.io/48b9h/</ext-link></p></fn>
<fn id="fn0005"><p><sup>5</sup>To this end, the interested reader is encouraged to use our publicly available resources provided on <ext-link ext-link-type="uri" xlink:href="https://osf.io/48b9h/">https://osf.io/48b9h/</ext-link>.</p></fn>
</fn-group>
</back>
</article>