Local Algorithms
- n Grids
Jukka Suomela · Aalto University
Local Algorithms on Grids Jukka Suomela Aalto University - - PowerPoint PPT Presentation
Local Algorithms on Grids Jukka Suomela Aalto University arXiv:1702.05456 LCL Problems on Grids , joint work with: Janne H Korhonen, Tuomo Lempiinen, Christopher Purcell, Patric RJ stergrd (Aalto) Sebastian Brandt,
Jukka Suomela · Aalto University
arXiv:1702.05456
“LCL Problems on Grids”, joint work with:
Christopher Purcell, Patric RJ Östergård (Aalto)
2-colouring 3-colouring 4-colouring global global local
Setting
Setting
LOCAL model of computing
unlimited local computation
Setting
LOCAL model of computing
mapping from radius-T neighbourhoods to local outputs
LCL problems
O(1)-radius neighbourhood of each node
vertex colouring, edge colouring …
LCL problems
O(1)-round nondeterministic algorithms
with deterministic algorithms?
Traditional settings
expander-like constructions
Our setting today
expander-like worst-case constructions?
1D grids
Why is 3-colouring Θ(log* n)?
1D grids
2D grids
2D grids
LCL problems on grids
Normalisation
translated to a “normal form”:
92 33 77 57 49 26 71 79 8 62 48 24 31 21 15 30 60 67 5 17 95 23 47 87 80 25 38 20 64 45 61 91 51 69 1 74 55 3 98 88 99 58 53 63 40 16 2 39 1 1 1 1 1 1 1 1 1 1 1 1 1 1
O(log* n) O(1) MIS f
Normalisation in more detail…
there are constants k and r and function f such that P can be solved as follows:
Some proof ideas…
n × n neighbourhoods
LCL problems on grids
Vertex colouring
4-colouring
then consider 7 × 5 tiles
3-colouring
2-colouring 3-colouring 4-colouring global global local
Proof idea
for 3-colouring in n × n grids
for “sum coordination” in n-cycles
even × even
Consider any feasible 3-colouring…
even × even
We can convert it into a greedy solution in constant time
(eliminate colour 2 whenever possible, then colour 3)
even × even
Greedy solution: boundaries + 2-coloured regions
even × even
Parity changes at each boundary
even × even
Parity changes at each boundary
even × even
Wrap around: same parity Wrap around:
even × even
Boundaries can be oriented with local rules
(keep orange on right, white on left)
even × even
Pick any row, label boundary crossings with +1 / −1
up = +1, down = −1 −1
even × even
Sum of crossings: even Sum of crossings:
−1
even × even
Sum of crossings: even Sum of crossings:
−1
even × even
Boundaries are closed curves: constant sum
up = +1, down = −1 −1 −1 −1 −1
even × even
Locality: sum only depends on grid dimensions, not on IDs
(otherwise we could construct one instance with non-constant sum) −1 −1 −1 −1
Sum coordination
solve for every row of the grid:
q(n) in any n-cycle, regardless of unique identifiers
Sum coordination
solve for every row of the grid
2-colouring 3-colouring 4-colouring global global local
Conclusions: LCLs on grids
trivial O(1), local Θ(log* n), global Θ(n)