A team of mobile agents, starting from distinct nodes of a network, have to meet at the same node and declare that they all met. Agents execute the same algorithm, which they start when activated by an adversary or by an agent entering their initial node. When activated, agents traverse edges of the network in synchronous rounds. Their perception and communication are strictly local. This task, known as gathering, is a central problem in distributed mobile systems. Most prior work focuses on minimizing its time complexity, i.e., the worst-case number of rounds between the start of the earliest agent and the task completion. To break possible symmetries, deterministic solutions typically assume that agents have pairwise distinct IDs, called labels, known only to themselves. But must all labels be pairwise distinct to guarantee deterministic gathering? We address this question by considering agents that may share the same label. A team L is said to be gatherable if, for every initial setting of L, there is an algorithm that solves gathering. Our contribution is threefold. (1) We give a full characterization of the gatherable teams. (2) We design an algorithm that gathers all of them in poly$(n,\log\lambda)$ time, where $n$ (resp. $\lambda$) is the graph order (resp. the smallest label in L). This algorithm requires the agents to initially share only $O(\log \log \log \mu)$ bits of common knowledge, where $\mu$ is the largest label multiplicity in L. (3) We show this dependency is almost optimal to get a poly$(n,\log\lambda)$-time complexity. As a by-product, we get the first deterministic poly$(n,\log\lambda)$-time algorithm requiring no common knowledge to gather any team when all labels are distinct. Known to be achievable for two-agent teams, extending this to any team size faced a major challenge: termination detection. Our techniques to address it may be of independent interest.
翻译:一组移动智能体从网络的不同节点出发,需在同一节点相遇并宣告全体集合完成。智能体执行相同算法,其启动时机由敌手或进入其初始节点的其他智能体激活。激活后,智能体以同步轮次遍历网络边。其感知与通信严格遵循局部性原则。该任务称为聚集,是分布式移动系统中的核心问题。现有研究多聚焦于最小化时间复杂度,即最早启动智能体至任务完成的最坏情况轮次数。为打破可能的对称性,确定性解决方案通常假设智能体具有仅自身可知的两两相异标识(称为标签)。但实现确定性聚集是否必须要求所有标签两两相异?本文通过考虑允许共享相同标签的智能体来探讨该问题。若对于团队L的任意初始配置,均存在算法实现聚集,则称该团队为可聚集的。我们的贡献包含三方面:(1)完整刻画了可聚集团队的特征。(2)设计了在poly$(n,\log\lambda)$时间内聚集所有可聚集团队的算法,其中$n$(对应地,$\lambda$)为图阶数(对应地,L中的最小标签值)。该算法仅需智能体初始共享$O(\log \log \log \mu)$比特的公共知识,其中$\mu$为L中标签最大重复次数。(3)证明该依赖关系对于实现poly$(n,\log\lambda)$时间复杂度近乎最优。作为衍生成果,我们首次提出了无需公共知识即可在poly$(n,\log\lambda)$时间内聚集任意全相异标签团队的确定性算法。虽然双智能体团队的该性质已知可实现,但将其扩展至任意规模团队面临核心挑战:终止检测。我们解决该问题的技术可能具备独立研究价值。