422

Locally Checkable Problems in Rooted Trees

Distributed computing (Distrib. Comput.), 2021
Abstract

Consider any locally checkable labeling problem Π\Pi in rooted regular trees: there is a finite set of labels Σ\Sigma, and for each label xΣx \in \Sigma we specify what are permitted label combinations of the children for an internal node of label xx (the leaf nodes are unconstrained). This formalism is expressive enough to capture many classic problems studied in distributed computing, including vertex coloring, edge coloring, and maximal independent set. We show that the distributed computational complexity of any such problem Π\Pi falls in one of the following classes: it is O(1)O(1), Θ(logn)\Theta(\log^* n), Θ(logn)\Theta(\log n), or Θ(n)\Theta(n) rounds in trees with nn nodes (and all of these classes are nonempty). We show that the complexity of any given problem is the same in all four standard models of distributed graph algorithms: deterministic LOCAL, randomized LOCAL, deterministic CONGEST, and randomized CONGEST model. In particular, we show that randomness does not help in this setting, and complexity classes such as Θ(loglogn)\Theta(\log \log n) or Θ(n)\Theta(\sqrt{n}) do not exist (while they do exist in the broader setting of general trees). We also show how to systematically determine the distributed computational complexity of any such problem Π\Pi. We present an algorithm that, given the description of Π\Pi, outputs the round complexity of Π\Pi in these models. While the algorithm may take exponential time in the size of the description of Π\Pi, it is nevertheless practical: we provide a freely available implementation of the classifier algorithm, and it is fast enough to classify many typical problems of interest.

View on arXiv
Comments on this paper