在本文中,我们提出了两种自稳定算法,使单个(移动)智能体能够探索图。从任意初始配置开始,即无论智能体和所有节点的初始状态以及智能体的初始位置如何,算法都能保证智能体访问所有节点。我们基于两个指标评估这些算法:覆盖时间,定义为访问所有节点所需的移动次数;以及内存使用量,定义为维护智能体和每个节点状态所需的存储量。第一种算法是随机化的。给定一个整数 c = Ω(n),其覆盖时间是最优的,即期望为 O(m),其内存需求为智能体 O(log c) 比特,每个节点 v 为 O(log (c+δ_v)) 比特,其中 n 和 m 分别是节点数和边数,δ_v 是节点 v 的度数。对于一般的 c ≥ 2,其覆盖时间为 O( m · min(D, n/c+1, D/c + log n)),其中 D 是图的直径。第二种算法是确定性的。它需要一个输入整数 k ≥ max(D, Δmax),其中 Δmax 是图的最大度数。该算法的覆盖时间为 O(m + nD),并且对智能体和每个节点都使用 O(log k) 比特的内存。
英文摘要:
In this paper, we present two self-stabilizing algorithms that enable a single (mobile) agent to explore graphs. Starting from any initial configuration, \ie regardless of the initial states of the agent and all nodes, as well as the initial location of the agent, the algorithms ensure the agent visits all nodes. We evaluate the algorithms based on two metrics: the \emph{cover time}, defined as the number of moves required to visit all nodes, and \emph{memory usage}, defined as the storage needed for maintaining the states of the agent and each node. The first algorithm is randomized. Given an integer $c = Ω(n)$, its cover time is optimal, \ie $O(m)$ in expectation, and its memory requirements are $O(\log c)$ bits for the agent and $O(\log (c+δ_v))$ bits for each node $v$, where $n$ and $m$ are the numbers of nodes and edges, respectively, and $δ_v$ is the degree of node $v$. For general $c \ge 2$, its cover time is $O( m \cdot \min(D, \frac{n}{c}+1, \frac{D}{c} + \log n))$, where $D$ is the diameter of a graph. The second algorithm is deterministic. It requires an input integer $k \ge \max(D, \dmax)$, where $\dmax$ is the maximum degree of the graph. The cover time of this algorithm is $O(m + nD)$, and it uses $O(\log k)$ bits of memory for both the agent and each node.