English

Election vs. Selection: Two Ways of Finding the Largest Node in a Graph

Distributed, Parallel, and Cluster Computing 2014-11-06 v1 Data Structures and Algorithms

Abstract

Finding the node with the largest label in a network, modeled as an undirected connected graph, is one of the fundamental problems in distributed computing. This is the way in which leader election\textit{leader election} is usually solved. We consider two distinct tasks in which the largest-labeled node is found deterministically. In selection\textit{selection}, this node must output 1 and all other nodes must output 0. In election\textit{election}, the other nodes must additionally learn the largest label. Our aim is to compare the difficulty of these two tasks executed under stringent running time constraints. The measure of difficulty is the amount of information that nodes of the network must initially possess in order to solve the given task in an imposed amount of time. Following the standard framework of algorithms with advice\textit{algorithms with advice}, this information (a single binary string) is provided to all nodes at the start by an oracle knowing the entire graph. The length of this string is called the size of advice\textit{size of advice}. Consider the class of nn-node graphs with any diameter diamDdiam \leq D. If time is larger than diamdiam, then both tasks can be solved without advice. For the task of election\textit{election}, we show that if time is smaller than diamdiam, then the optimal size of advice is Θ(logn)\Theta(\log n), and if time is exactly diamdiam, then the optimal size of advice is Θ(logD)\Theta(\log D). For the task of selection\textit{selection}, the situation changes dramatically, even within the class of rings. Indeed, for the class of rings, we show that, if time is O(diamϵ)O(diam^{\epsilon}), for any ϵ<1\epsilon <1, then the optimal size of advice is Θ(logD)\Theta(\log D), and, if time is Θ(diam)\Theta(diam) (and at most diamdiam) then this optimal size is Θ(loglogD)\Theta(\log \log D).

Keywords

Cite

@article{arxiv.1411.1319,
  title  = {Election vs. Selection: Two Ways of Finding the Largest Node in a Graph},
  author = {Avery Miller and Andrzej Pelc},
  journal= {arXiv preprint arXiv:1411.1319},
  year   = {2014}
}
R2 v1 2026-06-22T06:49:12.775Z