We study the problem of online tree exploration by a deterministic mobile agent. Our main objective is to establish what features of the model of the mobile agent and the environment allow linear exploration time. We study agents that, upon entering to a node, do not receive as input the edge via which they entered. In such a model, deterministic memoryless exploration is infeasible, hence the agent needs to be allowed to use some memory. The memory can be located at the agent or at each node. The existing lower bounds show that if the memory is either only at the agent or only at the nodes, then the exploration needs superlinear time. We show that tree exploration in dual-memory model, with constant memory at the agent and logarithmic at each node is possible in linear time when one of two additional features is present: fixed initial state of the memory at each node (so called clean memory) or a single movable token. We present two algorithms working in linear time for arbitrary trees in these two models. On the other hand, in our lower bound we show that if the agent has a single bit of memory and one bit is present at each node, then exploration may require quadratic time on paths, if the initial memory at nodes could be set arbitrarily (so called dirty memory). This shows that having clean node memory or a token allows linear exploration of trees in the model with two types of memory, but having neither of those features may lead to quadratic exploration time even on a simple path.
翻译:我们通过一个确定性移动剂研究在线树勘探问题。 我们的主要目标是确定移动剂和环境模型的哪些特点允许线性勘探时间。 我们研究的是, 进入节点时不会以输入方式接收线性勘探时间。 在这样的模型中, 确定性无记忆的勘探是不可行的, 因此需要允许该代理人使用某种记忆。 内存可以位于代理人或每个节点。 现有的下限显示, 如果记忆仅存在于代理人或节点, 那么勘探需要超直线时间。 我们发现, 在双模模式中, 树的勘探, 在进入一个节点时, 就不会以输入方式接收他们进入的边缘。 在这种模式中, 当另外两个特征之一存在时, 确定性不耐久性勘探, 从而允许使用某种记忆的初始状态( 所谓的干净记忆), 或者一个移动象征。 我们展示两种模式的线性模型在直线性时间里运行着任意树。 另一方面, 我们用下框显示, 如果该代理人拥有一个简单时间点, 则需要超直线性勘探路径, 而在每条线性勘探路径上, 则可能要求有一条直线性 直线性 直线性 。