English

Time and space optimality of rotor-router graph exploration

Data Structures and Algorithms 2015-12-01 v3

Abstract

We consider the problem of exploration of an anonymous, port-labeled, undirected graph with nn nodes and mm edges and diameter DD, by a single mobile agent. Initially the agent does not know the graph topology nor any of the global parameters. Moreover, the agent does not know the incoming port when entering to a vertex. Each vertex is endowed with memory that can be read and modified by the agent upon its visit to that node. However the agent has no operational memory i.e., it cannot carry any state while traversing an edge. In such a model at least log2d\log_2 d bits are needed at each vertex of degree dd for the agent to be able to traverse each graph edge. This number of bits is always sufficient to explore any graph in time O(mD)O(mD) using algorithm Rotor-Router. We show that even if the available node memory is unlimited then time Ω(n3)\Omega(n^3) is sometimes required for any algorithm. This shows that Rotor-Router is asymptotically optimal in the worst-case graphs. Secondly we show that for the case of the path the Rotor-Router attains exactly optimal time.

Keywords

Cite

@article{arxiv.1502.05545,
  title  = {Time and space optimality of rotor-router graph exploration},
  author = {Artur Menc and Dominik Pająk and Przemysław Uznański},
  journal= {arXiv preprint arXiv:1502.05545},
  year   = {2015}
}
R2 v1 2026-06-22T08:33:08.795Z