Abstract

A robot modeled as a deterministic finite automaton has to build a structure from material available to it. The robot navigates in the infinite oriented grid {mathbb {Z}} times {mathbb {Z}}. Some cells of the grid are full (contain a brick) and others are empty. The subgraph of the grid induced by full cells, called the shape, is initially connected. The (Manhattan) distance between the furthest cells of the shape is called its span. The robot starts at a full cell. It can carry at most one brick at a time. At each step it can pick a brick from a full cell, move to an adjacent cell and drop a brick at an empty cell. The aim of the robot is to construct the most compact possible structure composed of all bricks, i.e., a nest. That is, the robot has to move all bricks in such a way that the span of the resulting shape be the smallest. Our main result is the design of a deterministic finite automaton that accomplishes this task and subsequently stops, for every initially connected shape, in time O(sn), where s is the span of the initial shape and n is the number of bricks. We show that this complexity is optimal.

Highlights

  • 1.1 The ProblemA mobile agent modeled as a deterministic finite automaton has to build a structure from material available to it

  • The robot can pick up a brick from the currently occupied full cell, moves to an adjacent cell, and can drop a brick at the currently occupied empty cell

  • Our main result is the design of a deterministic finite automaton that accomplishes the task of building a nest and subsequently stops, for every initially connected shape, in time O(sn), where s is the span of the initial shape and n is the number of bricks

Read more

Summary

Introduction

1.1 The ProblemA mobile agent (robot) modeled as a deterministic finite automaton has to build a structure from material available to it. The subgraph of the grid induced by full cells, called the shape, is initially connected. The (Manhattan) distance between the furthest cells of the shape is called its span. The distance is an upper bound√on the span and for some shapes the two can be by a multiplicative factor of Ω( n) apart. This diameter may be sometimes undefined, if the shape becomes disconnected. It can carry at most one brick at a time. The robot has no a priori knowledge of the initial shape, of its span or of the number of bricks

Methods
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call