Tight Bounds for Undirected Graph Exploration with Pebbles and Multiple Agents

Y. Disser, J. Hackfeld, Max Klimm
{"title":"Tight Bounds for Undirected Graph Exploration with Pebbles and Multiple Agents","authors":"Y. Disser, J. Hackfeld, Max Klimm","doi":"10.1145/3356883","DOIUrl":null,"url":null,"abstract":"We study the problem of deterministically exploring an undirected and initially unknown graph with n vertices either by a single agent equipped with a set of pebbles or by a set of collaborating agents. The vertices of the graph are unlabeled and cannot be distinguished by the agents, but the edges incident to a vertex have locally distinct labels. The graph is explored when all vertices have been visited by at least one agent. In this setting, it is known that for a single agent without pebbles Θ(log n) bits of memory are necessary and sufficient to explore any graph with at most n vertices. We are interested in how the memory requirement decreases as the agent may mark vertices by dropping and retrieving distinguishable pebbles or when multiple agents jointly explore the graph. We give tight results for both questions showing that for a single agent with constant memory Θ(log log n) pebbles are necessary and sufficient for exploration. We further prove that using collaborating agents instead of pebbles does not help as Θ(log log n) agents with constant memory each are necessary and sufficient for exploration. For the upper bounds, we devise an algorithm for a single agent with constant memory that explores any n-vertex graph using O(log log n) pebbles, even when n is not known a priori. The algorithm terminates after polynomial time and returns to the starting vertex. We further show that the algorithm can be realized with additional constant-memory agents rather than pebbles, implying that O(log log n) agents with constant memory can explore any n-vertex graph. For the lower bound, we show that the number of agents needed for exploring any graph with at most n vertices is already Ω(log log n) when we allow each agent to have at most O((log n)1-ε) bits of memory for any ε > 0. Our argument also implies that a single agent with sublogarithmic memory needs Θ(log log n) pebbles to explore any n-vertex graph.","PeriodicalId":17199,"journal":{"name":"Journal of the ACM (JACM)","volume":"454 1","pages":"1 - 41"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ACM (JACM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3356883","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

We study the problem of deterministically exploring an undirected and initially unknown graph with n vertices either by a single agent equipped with a set of pebbles or by a set of collaborating agents. The vertices of the graph are unlabeled and cannot be distinguished by the agents, but the edges incident to a vertex have locally distinct labels. The graph is explored when all vertices have been visited by at least one agent. In this setting, it is known that for a single agent without pebbles Θ(log n) bits of memory are necessary and sufficient to explore any graph with at most n vertices. We are interested in how the memory requirement decreases as the agent may mark vertices by dropping and retrieving distinguishable pebbles or when multiple agents jointly explore the graph. We give tight results for both questions showing that for a single agent with constant memory Θ(log log n) pebbles are necessary and sufficient for exploration. We further prove that using collaborating agents instead of pebbles does not help as Θ(log log n) agents with constant memory each are necessary and sufficient for exploration. For the upper bounds, we devise an algorithm for a single agent with constant memory that explores any n-vertex graph using O(log log n) pebbles, even when n is not known a priori. The algorithm terminates after polynomial time and returns to the starting vertex. We further show that the algorithm can be realized with additional constant-memory agents rather than pebbles, implying that O(log log n) agents with constant memory can explore any n-vertex graph. For the lower bound, we show that the number of agents needed for exploring any graph with at most n vertices is already Ω(log log n) when we allow each agent to have at most O((log n)1-ε) bits of memory for any ε > 0. Our argument also implies that a single agent with sublogarithmic memory needs Θ(log log n) pebbles to explore any n-vertex graph.
基于卵石和多智能体的无向图探索的紧边界
我们研究了确定性地探索具有n个顶点的无向和初始未知图的问题,无论是由单个智能体配备一组鹅卵石还是由一组协作智能体。图的顶点是未标记的,不能被代理区分,但是与顶点相关的边具有局部不同的标签。当至少有一个代理访问了所有顶点时,将探索图。在这种情况下,对于没有鹅卵石Θ(log n)位内存的单个智能体来说,对于探索最多有n个顶点的任何图来说,这些内存位是必要的,也是足够的。我们感兴趣的是,当智能体通过丢弃和检索可区分的鹅卵石来标记顶点时,或者当多个智能体共同探索图时,内存需求是如何减少的。我们对这两个问题给出了严密的结果,表明对于具有恒定内存Θ(log log n)的单个代理,卵石对于探索是必要和充分的。我们进一步证明,使用协作代理而不是鹅卵石并没有帮助,因为Θ(log log n)具有恒定内存的代理对于探索来说是必要和足够的。对于上限,我们为具有恒定内存的单个代理设计了一种算法,该算法使用O(log log n)个卵石来探索任何n顶点图,即使n不是先验已知的。该算法在多项式时间后终止并返回到起始顶点。我们进一步证明,该算法可以通过额外的恒定内存代理而不是鹅卵石来实现,这意味着O(log log n)个具有恒定内存的代理可以探索任何n顶点的图。对于下界,我们表明,当我们允许每个智能体最多拥有O((log n)1-ε)位内存时,探索任何至多有n个顶点的图所需的智能体数量已经是Ω(log log n)。我们的论证还表明,具有次对数内存的单个代理需要Θ(log log n)个卵石来探索任何n顶点的图。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信