English

Fort Formation by an Automaton

Computational Complexity 2020-12-01 v1

Abstract

Building structures by low capability robots is a very recent research development. A robot (or a mobile agent) is designed as a deterministic finite automaton. The objective is to make a structure from a given distribution of materials (\textit{bricks}) in an infinite grid Z×ZZ\times Z. The grid cells may contain a brick (\textit{full cells}) or it may be empty (\textit{empty cells}). The \textit{field}, a sub-graph induced by the full cells, is initially connected. At a given point in time, a robot can carry at most one brick. The robot can move in four directions (north, east, south, and west) and starts from a \textit{full cell}. The \textit{Manhattan distance} between the farthest full cells is the \textit{span} of the field. We consider the construction of a \textit{fort}, a structure with the minimum span and maximum covered area. On a square grid, a fort is a hollow rectangle with bricks on the perimeter. We show that the construction of such a fort can be done in O(z2)O(z^2) time -- with a matching lower bound Ω(z2)\Omega(z^2) -- where zz is the number of bricks present in the environment.

Keywords

Cite

@article{arxiv.2011.15074,
  title  = {Fort Formation by an Automaton},
  author = {Kartikey Kant and Debasish Pattanayak and Partha Sarathi Mandal},
  journal= {arXiv preprint arXiv:2011.15074},
  year   = {2020}
}
R2 v1 2026-06-23T20:36:44.578Z