English

Energy Constrained Depth First Search

Data Structures and Algorithms 2018-02-20 v2 Distributed, Parallel, and Cluster Computing Discrete Mathematics

Abstract

Depth first search is a natural algorithmic technique for constructing a closed route that visits all vertices of a graph. The length of such route equals, in an edge-weighted tree, twice the total weight of all edges of the tree and this is asymptotically optimal over all exploration strategies. This paper considers a variant of such search strategies where the length of each route is bounded by a positive integer BB (e.g. due to limited energy resources of the searcher). The objective is to cover all the edges of a tree TT using the minimum number of routes, each starting and ending at the root and each being of length at most BB. To this end, we analyze the following natural greedy tree traversal process that is based on decomposing a depth first search traversal into a sequence of limited length routes. Given any arbitrary depth first search traversal RR of the tree TT, we cover RR with routes R1,,RlR_1,\ldots,R_l, each of length at most BB such that: RiR_i starts at the root, reaches directly the farthest point of RR visited by Ri1R_{i-1}, then RiR_i continues along the path RR as far as possible, and finally RiR_i returns to the root. We call the above algorithm \emph{piecemeal-DFS} and we prove that it achieves the asymptotically minimal number of routes ll, regardless of the choice of RR. Our analysis also shows that the total length of the traversal (and thus the traversal time) of piecemeal-DFS is asymptotically minimum over all energy-constrained exploration strategies. The fact that RR can be chosen arbitrarily means that the exploration strategy can be constructed in an online fashion when the input tree TT is not known in advance. Surprisingly, our results show that depth first search is efficient for energy constrained exploration of trees, even though it is known that the same does not hold for energy constrained exploration of arbitrary graphs.

Keywords

Cite

@article{arxiv.1709.10146,
  title  = {Energy Constrained Depth First Search},
  author = {Shantanu Das and Dariusz Dereniowski and Przemysław Uznański},
  journal= {arXiv preprint arXiv:1709.10146},
  year   = {2018}
}
R2 v1 2026-06-22T21:58:16.223Z