Leader election in the plane
Anonymous robots must agree on one of them, using only their positions.
Problem statement and measurescollapse
\(n\) anonymous robots (identical, with no names) at distinct points must agree on a single robot (the leader), each deciding from its own snapshot.
Measures: Time, rounds (FSYNC, SSYNC) or epochs (ASYNC) until the task is done; "finite" when only solvability is known; Colours, colours of the light per robot (0 for oblivious robots).
A first look
the basic problem, a simple algorithm and why some things cannot be done, for a newcomer
Imagine \(n\) identical drones hovering at different spots in a field. They carry no name tags, they cannot talk, and each one has its own private idea of which way is north, what counts as one metre, and possibly even which way is clockwise. In the problem the drones are robots, points at distinct places in the plane, and a robot's private north, unit of length and sense of clockwise form its local coordinate system. Each robot takes a snapshot, a photograph of where all the robots are in its local coordinate system, and, using the same program as every other robot, must decide "I am the leader" or "I am not", so that exactly one robot says yes; that robot is the leader. The robots are anonymous (they look the same and run the same program) and disoriented (no shared compass, unit of length or, without chirality, shared sense of clockwise). The question is: for which configurations (arrangements of the robots' positions) can this be done at all?
This is the version where the robots agree on clockwise (chirality).
- Draw the smallest circle that encloses all robots, the smallest enclosing circle; every robot finds the same circle. Call its centre \(O\). If a robot sits exactly at \(O\), it is the leader; stop.
- Draw a ray (a half-line) from \(O\) through every robot (several robots may share a ray).
- For each ray, list the distances between consecutive robots on it, starting from \(O\), measured as fractions of the circle's radius (so the private unit of length does not matter).
- Starting at a ray and walking clockwise around the circle, write down a word: the list for this ray, then the angle to the next ray, then the list for the next ray, and so on, once around.
- Every robot computes the word of every ray and picks the ray whose word is alphabetically smallest. If only one ray has that word, the leader is the robot on that ray nearest to \(O\).
Why it matters. Turning a picture into a word and comparing words is the standard way robot papers break symmetry, and electing a leader this way is the first step of arbitrary pattern formation Dieudonné et al. 2010.
Place six robots at the corners of a regular hexagon. The adversary (an imagined opponent who chooses everything the algorithm does not control, here the robots' private coordinate systems) gives each robot a local coordinate system whose north points from the centre through that robot, and the same unit and handedness for all. Now every robot's snapshot is literally the same list of coordinates. The same happens for any \(n = 2\): two points are always swapped by a half-turn around their midpoint.
Why it matters. Almost every impossibility for robots in the plane, from pattern formation to gathering, is this argument: build a symmetric start and choose coordinate systems so that symmetric robots see identical snapshots.
What is known
The best upper bound against the best lower bound in each catalogued setting. Open a setting for its results, proofs and notes, or see the progress map with the branch points.
What the community started looking at
Leader election in the plane was asked as a characterisation of the configurations from which anonymous robots can agree on one of them Dieudonné et al. 2013; its importance comes from its equivalence with arbitrary pattern formation Dieudonné et al. 2010 Cicerone et al. 2019.
Related problems
Pattern formation: Arbitrary pattern formation is solvable from a configuration exactly when leader election is, in ASYNC without chirality Cicerone et al. 2019; with chirality and \(n \ge 4\) this was shown by Dieudonné et al. 2010.
Leader election in programmable matter: Both elect a leader among anonymous entities from geometry alone; particles on the lattice can also move and talk to neighbours, robots in the plane only see Dufoulon et al. 2021.
Perspectives
- Symmetry is the adversary Identical agents running the same deterministic program can be kept in lockstep forever. Across graphs, the plane and programmable matter, the papers break this symmetry with identifiers, with randomness, with asymmetric starts, or with the scheduler, and leader election keeps reappearing as the common core.
- Weak robots in the plane Why the theory of robots in the plane starts from oblivious, anonymous, disoriented points; how formation problems became its testbed and the scheduler its adversary; and how a light with a few colours turned into memory, communication and a measure.
- From robots to particles Programmable matter re-asks the questions of robots in the plane on a lattice, with particles that touch, remember a little and stay connected; SILBOT takes memory and messages away again, and the stochastic approach replaces algorithms by a biased local rule.
All settings
The assumption tree (2 settings, 1 branch points)
The root assumes nothing. Going down, each edge adds the assumptions on its chips (+blue); a grey chip names the branch that leaves that axis unassumed while a sibling assumes something. Solid nodes are catalogued variants with their status per measure (Time, Colours); dashed nodes are branch points with no catalogued variant, named after the axis on which their branches differ. Axis order: Body › Visibility › Opacity › Faults › Scheduler › Lights (persistent memory) › Agreement on coordinates › Movement › Multiplicity detection › Randomness › Identifiers.
-
No assumptions · 2 branches by body
Nothing is assumed on any axis.
-
+point+unlimited visibility+transparent+no faultsDisoriented robots, with or without chirality standard setting Whether anonymous robots can agree on a leader from their positions is characterised by Lyndon words around the smallest enclosing circle.
-
fat+unlimited visibility+transparentTransparent fat robots, no chirality Transparent fat robots without chirality can agree on an ordering, and so on a leader, exactly when their configuration is asymmetric.
-
Know a better result, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.