Election vs. Selection: Two Ways of Finding the Largest Node in a Graph
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 is usually solved. We consider two distinct tasks in which the largest-labeled node is found deterministically. In selection, this node must output 1 and all other nodes must output 0. In 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, 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. Consider the class of n-node graphs with any diameter diam ≤ D. If time is larger than diam, then both tasks can be solved without advice. For the task of election, we show that if time is smaller than diam, then the optimal size of advice is ( n), and if time is exactly diam, then the optimal size of advice is ( D). For the task of 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ε), for any ε <1, then the optimal size of advice is ( D), and, if time is (diam) (and at most diam) then this optimal size is ( D).
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.